summaryrefslogtreecommitdiffstats
path: root/src/corelib/doc/src
diff options
context:
space:
mode:
authorBartlomiej Moskal <bartlomiej.moskal@qt.io>2022-05-19 08:07:56 +0200
committerBartlomiej Moskal <bartlomiej.moskal@qt.io>2022-05-30 16:27:38 +0200
commit5398eb55ed2125be2b2abeaa0ebafd5cac68e46d (patch)
treeabc0787178b4be1e5fa0116a1dcf44f7b2da098b /src/corelib/doc/src
parent296c3776a81770ca5b20b0848340254f90f0a962 (diff)
Android: Extend make_apk target with the sign option
Commit contains the new QT_ANDROID_SIGN_APK variable. It extends *make_apk target by signing the package with the specified key. For key setup these environment variables must be set: - QT_ANDROID_KEYSTORE_PATH - QT_ANDROID_KEYSTORE_STORE_PASS - QT_ANDROID_KEYSTORE_ALIAS - QT_ANDROID_KEYSTORE_KEY_PASS Task-number: QTBUG-97107 Change-Id: If42c74298c1b385889b32517ab7f1f5b0628b487 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Diffstat (limited to 'src/corelib/doc/src')
-rw-r--r--src/corelib/doc/src/cmake/cmake-configure-variables.qdoc27
1 files changed, 26 insertions, 1 deletions
diff --git a/src/corelib/doc/src/cmake/cmake-configure-variables.qdoc b/src/corelib/doc/src/cmake/cmake-configure-variables.qdoc
index 25d69c36c3..116e08fef4 100644
--- a/src/corelib/doc/src/cmake/cmake-configure-variables.qdoc
+++ b/src/corelib/doc/src/cmake/cmake-configure-variables.qdoc
@@ -1,4 +1,4 @@
-// Copyright (C) 2021 The Qt Company Ltd.
+// Copyright (C) 2022 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
/* NOTE: The variables documented here are available when running CMake, they
@@ -156,6 +156,31 @@ Each variable can be used to specify the path to Qt for Android for the correspo
*/
/*!
+\page cmake-variable-QT_ANDROID_SIGN_APK.html
+\ingroup cmake-variables-qtcore
+
+\title QT_ANDROID_SIGN_APK
+\target cmake-variable-QT_ANDROID_SIGN_APK
+
+\summary {Sign the package with the specified keystore, alias and store password.}
+\cmakevariablesince 6.4
+\preliminarycmakevariable
+\cmakevariableandroidonly
+
+Sign the resulting package. The path of the keystore file, the alias of the key and passwords
+have to be specified by additional environment variables:
+\badcode
+ QT_ANDROID_KEYSTORE_PATH
+ QT_ANDROID_KEYSTORE_ALIAS
+ QT_ANDROID_KEYSTORE_STORE_PASS
+ QT_ANDROID_KEYSTORE_KEY_PASS
+\endcode
+Mentioned variables are used internally by \l{androiddeployqt}.
+
+\sa{androiddeployqt}
+*/
+
+/*!
\page cmake-variable-QT_HOST_PATH.html
\ingroup cmake-variables-qtcore