summaryrefslogtreecommitdiffstats
path: root/src/android/templates/doc/src/android-manifest-file-configuration.qdoc
diff options
context:
space:
mode:
authorAssam Boudjelthia <assam.boudjelthia@qt.io>2024-05-07 15:57:00 +0300
committerAssam Boudjelthia <assam.boudjelthia@qt.io>2024-05-15 12:34:08 +0300
commitb740cd1f38e8fa08e61cee1d7a19badaff2dd282 (patch)
tree954d3a950159a41d84a3d70e0b69c4a73ac66baf /src/android/templates/doc/src/android-manifest-file-configuration.qdoc
parent0a48730d0821cf0d2f8ad25934d2498293c3648b (diff)
Android: account for namespace in build.gradle instead of manifest
AGP version 7.4 deprecated the use of "package" attribute in the manifest to specify the unique package name, it's instead been moved to build.gradle file and set using "namespace" property. This patch adds support of that to androiddeployqt. Removing the "package" attribute from the default manifest would break Qt Creator 13 and below because Qt Creator would fail to deploy apps without such attribute in the manifest. For that reason we'll defer removing it until a later version, for example Qt 6.10, to allow some buffer for a Qt Creator that can handle that to be adopted by users to reduce breakage. [ChangeLog][Android] Add support for namespace in build.gradle instead of the package attribute in the manifest. Pick-to: 6.7 Task-number: QTBUG-106907 Change-Id: Ib0f0d6a6fbb3b38f605aadfdcc497067daf90297 Reviewed-by: Tinja Paavoseppä <tinja.paavoseppa@qt.io>
Diffstat (limited to 'src/android/templates/doc/src/android-manifest-file-configuration.qdoc')
-rw-r--r--src/android/templates/doc/src/android-manifest-file-configuration.qdoc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/android/templates/doc/src/android-manifest-file-configuration.qdoc b/src/android/templates/doc/src/android-manifest-file-configuration.qdoc
index db0d3c7277..79268f7576 100644
--- a/src/android/templates/doc/src/android-manifest-file-configuration.qdoc
+++ b/src/android/templates/doc/src/android-manifest-file-configuration.qdoc
@@ -50,6 +50,8 @@ Qt sets the following manifest configuration by default:
\li {1, 5} \l {Android: App Manifest <manifest>}{<manifest>}
\li package
\li Sets the package name. The default value is \c {org.qtproject.example.app_name}.
+ \warning This field is deprecated and moved to \c build.gradle. It will be removed
+ in an upcoming release.
\row
\li \c {android:installLocation}
\li Sets the app's installation location, whether internal or external storage.