-
Notifications
You must be signed in to change notification settings - Fork 394
Expand file tree
/
Copy pathCMakeUserPresets.json.example
More file actions
44 lines (44 loc) · 1.58 KB
/
Copy pathCMakeUserPresets.json.example
File metadata and controls
44 lines (44 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
"version": 10,
"configurePresets": [
{
"name": "local-android-arm64",
"$comment": "Generate the keystore with: keytool -genkeypair -keystore C:/Android/my.keystore -alias alias -keyalg RSA -keysize 2048 -validity 10000 (keytool is located in <JAVA_HOME>/bin)",
"inherits": [
"android-base"
],
"cacheVariables": {
"VCPKG_CHAINLOAD_TOOLCHAIN_FILE": {
"type": "FILEPATH",
"value": "C:/Qt/6.11.1/android_arm64_v8a/lib/cmake/Qt6/qt.toolchain.cmake"
},
"QT_HOST_PATH": "C:/Qt/6.11.0/mingw_64",
"QT_QMAKE_EXECUTABLE": {
"type": "FILEPATH",
"$comment": "Not used by the build itself. Qt Creator reads it when importing the preset to bind the kit to the Android Qt profile instead of the desktop host Qt.",
"value": "C:/Qt/6.11.1/android_arm64_v8a/bin/qmake.bat"
},
"ANDROID_SDK_ROOT": "C:/Android/sdk",
"ANDROID_NDK_ROOT": "C:/Android/sdk/ndk/27.2.12479018",
"QT_ANDROID_SIGN_APK": "ON"
},
"environment": {
"ANDROID_NDK_HOME": "C:/Android/sdk/ndk/27.2.12479018",
"JAVA_HOME": "C:/Program Files/Eclipse Adoptium/jdk-21.0.11.10-hotspot",
"QT_ANDROID_KEYSTORE_PATH": "C:/Android/my.keystore",
"QT_ANDROID_KEYSTORE_ALIAS": "alias",
"QT_ANDROID_KEYSTORE_STORE_PASS": "password",
"QT_ANDROID_KEYSTORE_KEY_PASS": "password"
}
}
],
"buildPresets": [
{
"name": "local-android-arm64-apk",
"configurePreset": "local-android-arm64",
"targets": [
"apk"
]
}
]
}