Priority: Not Evaluated
Affects Version/s: 5.15.2
Fix Version/s: None
I've struggled for more than a day trying to figure out why ANDROID_PACKAGE_SOURCE_DIR does not work with CMake.
I just get default AndroidManifest file, and android-build/res/* keeps cleared after copying manually.
Until I found blog post https://www.kdab.com/qtcreator-cmake-for-android-plugin/ that says:
So I have to define variable like this:
i.e. adding CACHE..
Meanwhile, "Deploying an Application on Android" article (https://doc.qt.io/qt-5/deployment-android.html) only says this:
it would be nice to have note about setting CACHE, or just full example of doing that in CMake.
Also, if I create new CMake project with QtCreator 4.14, I get this commented block:
Note that there's no CACHE there too!