[Development] qmake's custom install failed on Android

Denis Shienkov denis.shienkov at gmail.com
Fri Jan 12 18:58:16 CET 2018


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




More information about the Development mailing list