Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
Qt Creator 14.0.1
Description
- Open attached project with Android kit.
- add MYAPP=app1 environment variable
- run qmake
It seems it doesn't figure out the application project and run settings are empty. Trying to build only outputs a message in General Messages about:
Cannot open "/...../build/Android_Qt_6_7_2_Clang_x86_64-Debug/app1/android-build/AndroidManifest.xml".
And in Compile Output there is a message:
13:17:25: Product type is not an application, not running the Make install step. 13:17:25: Product type is not an application, not building an APK.
In previous Qt Creator version (14.0.0 or 13 not sure) it was also broken, but differently. It would be able to build it, but once built, if MYAPP was changed to app2, Qt Creator somehow cached the "app1" somewhere and it would just keep building the app1 change until .user file was removed, the project re-opened and MYAPP=app2 added to the environment again.
In earlier Qt Creator (12 probably) versions it was able to handle this situation better.