aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorRaphaël Cotty <raphael.cotty@gmail.com>2020-06-13 15:40:51 +0200
committerRaphaël Cotty <raphael.cotty@gmail.com>2020-06-25 15:55:43 +0000
commitc5111c5b04f3d7c5dca153e47f949f3119cb0434 (patch)
treef3d9fb08ccc24ca9e9694f03290413c130fb2e9d /doc
parent4de23ccb87bc93afefded644edd4285ee1d7a6dd (diff)
Android: Add support to generation of aab package
This patch adds the Android.sdk packageType property which sets the target application. By default (previous behavior) qbs generates an apk package. When set to aab, qbs generates instead an aab package Change-Id: Ic09776d08e2a2ecd68fb4c08881201a7a0a25240 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'doc')
-rw-r--r--doc/reference/items/convenience/application.qdoc5
-rw-r--r--doc/reference/modules/android-sdk-module.qdoc9
2 files changed, 12 insertions, 2 deletions
diff --git a/doc/reference/items/convenience/application.qdoc b/doc/reference/items/convenience/application.qdoc
index e92247f5f..ca77e153c 100644
--- a/doc/reference/items/convenience/application.qdoc
+++ b/doc/reference/items/convenience/application.qdoc
@@ -41,8 +41,9 @@
The target artifact of this type of product is usually an executable binary
tagged \c "application".
However, on Android, unless you set \l{Product::}{consoleApplication} to \c true,
- the application target will be an APK package tagged \c "android.apk", and a
- dependency to the \l{Android.sdk} module is automatically added to the product.
+ the application target will be an APK or an AAB package tagged \c "android.package"
+ according to the \l{Android.sdk}{packageType} property. A dependency to the \l{Android.sdk}
+ module is automatically added to the product.
*/
/*!
diff --git a/doc/reference/modules/android-sdk-module.qdoc b/doc/reference/modules/android-sdk-module.qdoc
index 74599d0ba..676eaa825 100644
--- a/doc/reference/modules/android-sdk-module.qdoc
+++ b/doc/reference/modules/android-sdk-module.qdoc
@@ -241,3 +241,12 @@
\defaultvalue \c "aapt"
*/
+
+/*!
+ \qmlproperty string Android.sdk::packageType
+
+ Type of the package. Allowed options: "apk" and "aab".
+ Type "apk" generates a runnable package whereas "aab" generates a package for Google Play.
+
+ \defaultvalue \c "apk"
+*/