Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
Qt Creator 14.0.2
-
None
-
-
10f37586a (15.0)
Description
Support in Qtcreator's auto-setup.cmake for vcpkg for android is missing.
auto-setup.cmake should:
- set ANDROID_NDK_HOME env var to (ANDROID_NDK cmake variable)
- set VCPKG_TARGET_TRIPLET to one of https://learn.microsoft.com/en-us/vcpkg/users/platforms/android#vcpkg-triplets-and-their-corresponding-android-abi . We already set ANDROID_ABI as https://developer.android.com/ndk/guides/abis , but it has to match vcpkg's notation.
- include ${ANDROID_NDK_HOME}/build/cmake/android.toolchain.cmake in <build_folder>vcpkg-dependencies/toolchain.cmake
Steps to reproduce:
1. create a new cmake project
2. add a vcpkg.json file with some dependencies
3. make use of these dependencies !
4. use an Android kit
5. build.
6. change the Android kit to a different ABI. Go to step 4