Qt Creator on MacOS: do not building release for Android. Why?
After update of Qt Creator got this issue: do not build release for Android x86 (ignored release and build debug even if chosen release ) and do not open directory with (it's working only if chosen debug). It's happening only if I am choosing "release" on debug everything OK.
In "release" it's ignoring settings of Qt Creator.
How to fix it?
At time of building I have this message:
BUILD SUCCESSFUL in 10s 29 actionable tasks: 29 executed Android package built successfully in 12.929 ms. -- File: /Users/alexandr/Projects/Build/Android_for_x86_Clang_Qt_5_12_3_for_Android_x86-Release/android-build//build/outputs/apk/debug/android-build-debug.apk
It's building "release" but not switching off the building of "debug" in *.apk
Why it's might be?
There are everywhere switched off "debug".
When I am trying to "Run" application, but not only "Build" it's building released *.apk and I have this message:
Success Android package built successfully in 2.364 ms. -- It can now be run from the selected device/emulator. -- File: /Users/alexandr/Projects/Build/Android_for_x86_Clang_Qt_5_12_3_for_Android_x86-Release/android-build//build/outputs/apk/release/android-build-release-signed.apk
You have to actually sign your app or no "release" build will happen
It's signed. Last log example showing it ...
so build&run works, but build only results in a "debug" app file?
Can you delete the shadow build folder and double check?
@J.Hilk Yes. It's building only "debug" if I am only building. When I am using "Run" instead of build - it's building "release". Already been deleting and cleaning ...
Just cleared all cache of Qt Creator (~/Library/ and other directories), reconfigure project from scratch and deleted everything related to to the building. Deleted *.pro.user file and set it up again. Started working. I don't know what was it ...
Happens to all of us.
@J.Hilk This f-wording ghost sometimes switching me into WTF-mode ... :-)