Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 3.3.0
-
None
-
Qt version : Qt 5.4.0 for Android, Linux 32-bit
Qt Creator 3.3.0
Description
I have a subdirs project that i want to compile for Android. It's like :
TEMPLATE = subdirs CONFIG += ordered SUBDIRS += \ Library1 \ Library2 \ Main_App
Library1 and Library2 are submodules of type lib (TEMPLATE = lib), that are used in Main_App which is of type app (TEMPLATE = app).
Now when i want to add a manifest file, I go to Projects > Build Android APK > Details and click on Create Templates. The wizard is shown and the manifest file is created in the directory : MyProject/Main_App/android. But the line related to the android package source directory that is automatically added to the .pro of Main_App is like :
ANDROID_PACKAGE_SOURCE_DIR = $$PWD/Main_App/android
Which ofcourse is incorrect. It should be :
ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android
That's because $$PWD in the .pro of Main_App refers to MyProject/Main_App/. It's a little annoying and you have to correct the path each time you add a manifest file to a subdirs project.