diff options
author | Alexey Edelev <alexey.edelev@qt.io> | 2022-01-26 15:56:24 +0100 |
---|---|---|
committer | Alexey Edelev <alexey.edelev@qt.io> | 2022-02-02 15:16:01 +0100 |
commit | 1b34ee080e0b336233d2be8422c4476569251da6 (patch) | |
tree | e7805a3960b35fe34a96d4f7ae86e57223a2f9a8 | |
parent | 7faf77609616e367cd9e4acf69ae46d8ec690533 (diff) |
Mention AAB packages in the qt_android_add_apk_target description
Task-number: QTBUG-100229
Pick-to: 6.3 6.2
Change-Id: I03066d1493ec9a78e8fe677e1bb0d4fdd5799d34
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
-rw-r--r-- | src/corelib/doc/src/cmake/qt_android_add_apk_target.qdoc | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/src/corelib/doc/src/cmake/qt_android_add_apk_target.qdoc b/src/corelib/doc/src/cmake/qt_android_add_apk_target.qdoc index 12d5374e1a..aecd219ede 100644 --- a/src/corelib/doc/src/cmake/qt_android_add_apk_target.qdoc +++ b/src/corelib/doc/src/cmake/qt_android_add_apk_target.qdoc @@ -50,17 +50,20 @@ qt_android_add_apk_target(target) \section1 Description -The \c{<target>_make_apk} custom target created by this command takes an Android -deployment settings file and generates an APK by running \c{androiddeployqt}. +The \c{<target>_make_apk} and \c{<target>_make_aab} custom targets created by +this command take an Android deployment settings file and generate APK and +AAB respectively by running \c{androiddeployqt}. The location of the settings file is taken from the \c{target}'s \c{QT_ANDROID_DEPLOYMENT_SETTINGS_FILE} property. This file is typically created by \l{qt6_android_generate_deployment_settings}{qt_android_generate_deployment_settings()}. -The \c{.apk} file will be generated in an \c{android-build} subdirectory below -the CMake build directory of the \c{target}. +The respective Android package will be generated in an \c{android-build} +subdirectory below the CMake build directory of the \c{target}. -The \c{<target>_make_apk} target will be automatically added as a dependency of -the \c{apk} build target, which will be created if it doesn't already exist. -This can be disabled by setting the \c{QT_NO_GLOBAL_APK_TARGET} variable to true. +The \c{<target>_make_apk} and \c{<target>_make_aab} targets will be +automatically added as dependencies of the \c{apk} and \c{aab} build targets +respectively, which will be created automatically. Creating of the \c{apk} and +\c{aab} targets can be disabled by setting the \c{QT_NO_GLOBAL_APK_TARGET} and +\c{QT_NO_GLOBAL_AAB_TARGET} variables to \c{TRUE}. \sa {qt6_android_generate_deployment_settings}{qt_android_generate_deployment_settings()}, {qt6_finalize_target}{qt_finalize_target()} @@ -69,7 +72,7 @@ This can be disabled by setting the \c{QT_NO_GLOBAL_APK_TARGET} variable to true \snippet cmake-macros/examples.cmake qt_android_deploy_basic -The above commands define the build targets \c{myapp_make_apk} and \c{apk}, -which can be used to generate just the \c{myapp} APK or all APKs in the project -respectively. +The above commands define the \c{myapp_make_apk}, \c{myapp_make_aab}, \c{apk}, +and \c{aab} build targets which can be used to generate just the +\c{myapp} packages or all APKs and AABs in the project respectively. */ |