Hi all,

I need to use the INSTALLS feature on Android project
to copy of some files to the desired location.

For, example, this simple example fails at building for the install target:

QT += quick
CONFIG += c++11
SOURCES += main.cpp
RESOURCES += qml.qrc

foo_bar.files += $$PWD/main.cpp
foo_bar.path = $$OUT_PWD/foobar

INSTALLS += foo_bar

... with an error, like: "Unable to create a file or directory".

If I try to change the Android's kit to e.g. Windows's kit, then
my 'main.cpp' file copies fine.

Is it a bug? Or I do something wrong?

PS: I use Windows 10 host && Qt 5.9.3 for Android ARMv7 Kit.

BR,
Denis

_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to