Normally it is possible to overwrite the target.path variable of library projects to specify the install directory. However, with the Qt 5.3 for Android this seems to have changed. Overwriting the target.path variable does not work anymore. Therefore I get the following error when trying to install my QML plugin library:
mkdir: cannot create directory '/libs': Permission denied
my overwrite command looks like this:
TARGETPATH = Machinekit/HalRemote
target.path = $$[QT_INSTALL_QML]/$$TARGETPATH
INSTALLS += target
With Qt 5.2.1 for Android this works flawlessly. I tried to find out what was changed between Qty 5.2.1 and Qt 5.3 and found the file QT_VERSION/android_armv7/mkspecs/features/android/android.prf has changed (and contains the /libs directory that fails). I tried to replace the file with the one from Qt 5.2.1 but without success.