Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.10.0
-
None
Description
My project uses a C++ library that requires functions only present in Android NDK 21 and above. So, in AndroidManifest.xml minimum and target API versions are set to 21.
When I launch Qt Creator and start a build, it fails due to this function being undefined. I inspect the build log and see -D_ANDROID_API_=16. Then I open the manifest, set version to, say, 23, save, go back to 21, save, clean the build, and then the build uses API 21. This happens on every launch.
With console build:
~/Qt/5.10.0/android_armv7/bin/qmake ../Project/Project.pro
I also get API 16.