* Making an Android APK should now generally work with NDK r21.d and Qt 5.15.1 and CMake 3.18 although some details might still need tweaking * It is now supposed to be used within the NDK's toolchain instead of CMake's built-in Android support (which makes problems with newer NDK versions) * The old way to lookup/pass variables is preserved so it should still work with older Qt versions and CMake's built-in Android support * Qt's own support for invoking androiddeployqt needed to be disabled because it lead to CMake errors (see comment)
30 lines
1.2 KiB
JSON
30 lines
1.2 KiB
JSON
{
|
|
"qt": "@ANDROID_APK_QT_INSTALL_PREFIX@",
|
|
"sdk": "@ANDROID_APK_SDK@",
|
|
"ndk": "@ANDROID_APK_NDK@",
|
|
"android-min-sdk-version": "@ANDROID_MIN_SDK_VERSION@",
|
|
"android-target-sdk-version": "@ANDROID_TARGET_SDK_VERSION@",
|
|
"toolchain-prefix": "@ANDROID_APK_TOOL_PREFIX@",
|
|
"tool-prefix": "@ANDROID_APK_TOOL_PREFIX@",
|
|
"toolchain-version": "@ANDROID_APK_TOOLCHAIN_VERSION@",
|
|
"ndk-host": "@ANDROID_HOST_TAG@",
|
|
"target-architecture": "@ANDROID_ABI@",
|
|
"application-binary": "@ANDROID_APK_APP_BINARY@",
|
|
"qml-root-path": "@CMAKE_CURRENT_SOURCE_DIR@",
|
|
"qml-import-paths": "@ANDROID_APK_QML_IMPORT_DIRS@",
|
|
"android-extra-libs": "@ANDROID_APK_EXTRA_LIBS@",
|
|
"android-extra-plugins": "@ANDROID_APK_EXTRA_PLUGIN_DIRS@",
|
|
"android-package-source-directory": "@ANDROID_PACKAGE_SOURCE_DIRECTORY@",
|
|
"stdcpp-path":"@ANDROID_APK_CXX_STANDARD_LIBRARY@",
|
|
"sdkBuildToolsRevision": "@ANDROID_APK_BUILD_TOOLS_VERSION@",
|
|
"useLLVM": @ANDROID_APK_USE_LLVM@,
|
|
"architectures": {
|
|
"@ANDROID_ABI@" : "@ANDROID_APK_SYSROOT_NAME@"
|
|
},
|
|
"extraPrefixDirs": [@ANDROID_APK_BINARY_DIRS@
|
|
"@ANDROID_APK_NDK@/sysroot",
|
|
"@CMAKE_INSTALL_PREFIX@",
|
|
"@ANDROID_APK_QT_INSTALL_PREFIX@"
|
|
]
|
|
}
|