summaryrefslogtreecommitdiffstats
path: root/src/android/templates/doc/src/android-manifest-file-configuration.qdoc
Commit message (Collapse)AuthorAgeFilesLines
* Android: account for namespace in build.gradle instead of manifestAssam Boudjelthia6 days1-0/+2
| | | | | | | | | | | | | | | | | | | | | | 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>
* Android: fix Android Manifest docs tableAssam Boudjelthia2023-12-201-5/+2
| | | | | | | | | The table had the wrong row span making it malfomatted. Task-number: QTBUG-115020 Pick-to: 6.7 Change-Id: Icc35df3cd7dcdad2407d4c93d7a2a8d3d1701275 Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
* Android: remove unneeded allowNativeHeapPointerTagging manifest flagAssam Boudjelthia2023-10-201-7/+0
| | | | | | | | | Amends b0907db9eae4b85fcab4fa997428c438d9443ee0. Pick-to: 6.5 6.6 Task-number: QTBUG-91150 Change-Id: Ic7886a9fc69781e4f21417075516106ccb6c7bf5 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* Doc: Move \target command to inside table cellPaul Wicking2023-08-031-8/+4
| | | | | | | | | | | `\target`s generate a span where they occur. If they occur outside a table cell, QDoc generates illformed html. Fix such instances by moving the offending line into the table cell they target. Task-number: QTBUG-115247 Pick-to: 6.6 6.5 Change-Id: I677e909ec73a6d0af8195d88d23581d8dd97c6e5 Reviewed-by: Luca Di Sera <luca.disera@qt.io>
* Document tracing location android meta-dataAntti Määttä2023-03-011-0/+7
| | | | | | Pick-to: 6.5 Change-Id: I13467f022f1a3646315f2c0319e54db82d41e2c7 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Fix a typo in Android docsThibaut Cuvelier2022-10-051-1/+1
| | | | | | | | One cell spans 7 rows, while it indicated 8 rows. This typo implied that one row had four columns, unlike all the others. Change-Id: I6ae6f5b08fa5183228d1fb878d821a22bc2a1d39 Reviewed-by: Luca Di Sera <luca.disera@qt.io>
* Add option to not include native libraries in APKTinja Paavoseppä2022-05-201-3/+14
| | | | | | | | | | | | | | | | | Sometimes it is not desirable to include the libraries in the APK, e.g. system and vendor apps could prefer having one set of libraries installed on the device. If unbundled deployment is specified, native libraries will not be included in the APK. With unbundled deployment, optional arguments can be passed to set the path to load the libraries on the device. [ChangeLog][Android][Deployment Changes] Adds option for Unbundled deployment, where native libraries are not packaged in the APK. Task-number: QAA-771 Change-Id: Ica51ef83a24dad58c7586bf610a58abe21fc1100 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Use SPDX license identifiersLucie Gérard2022-05-161-26/+2
| | | | | | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. Files that have to be modified by hand are modified. License files are organized under LICENSES directory. Task-number: QTBUG-67283 Change-Id: Id880c92784c40f3bbde861c0d93f58151c18b9f1 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Lars Knoll <lars.knoll@qt.io> Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Android: set useLegacyPackaging to true in build.gradleAssam Boudjelthia2022-04-261-3/+0
| | | | | | | | | | | | Since we set android:extractNativeLibs to "true" in AndroidManifest.xml, a warning is thrown by the gradle build, which needs the property packagingOptions.jniLibs.useLegacyPackaging to be set to true. Pick-to: 6.2 6.3 5.15 Change-Id: I725d2663d68ab88abfda630f8a61666510043967 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Ramon Sadornil <ramon.sadornil@qt.io> Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
* Android: add missing properties in AndroidManifest.xmlAssam Boudjelthia2022-04-261-2/+15
| | | | | | | | | | | | | | | | | | | | | | | | Some missing values has to be defined in AndroidManifest.xml, otherwise, warnings might be thrown. * android:exported="true": because the manifest sets an intent-filter, and it then has to explicitly to avoid the warning [1]. * android:allowBackup="true": this has to be explicitly set, we set it to the default value here [2]. * android:fullBackupOnly="false": SDK 23+ use this to deteremine to user auto backup or not, we set it to the default value here [3]. [1] https://developer.android.com/guide/topics/manifest/activity- element#exported [2] https://developer.android.com/guide/topics/manifest/application- element#allowbackup [3] https://developer.android.com/guide/topics/manifest/application- element#fullBackupOnly Pick-to: 6.2 6.3 5.15 Fixes: QTBUG-101320 Change-Id: I0872dc00e48a867154ec9ded26620383fb747918 Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
* Android: rephrase default value statement use in manifest doc pageAssam Boudjelthia2022-03-111-23/+23
| | | | | | | | Use "The default value is \c xxx" instead of "Default \c xxx". Pick-to: 6.2 6.3 Change-Id: Id75b45499c7fc0e9d42e66fa2b8b3515c863c61c Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
* Document use of android:allowNativeHeapPointerTagging in the manifestAssam Boudjelthia2022-03-051-0/+7
| | | | | | | | | | | Document the tag for more clarity on why it's needed, and for what platforms. Pick-to: 6.2 6.3 Task-number: QTBUG-97009 Task-number: QTBUG-91150 Change-Id: Ie4522fb582583be07270d3cdbf83992897b51669 Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
* Docs: Move manifest and androiddeployqt docs to where code livesNicholas Bennett2021-11-191-0/+290
Removed content describing androiddeployqt from deployment-android.html to androiddeployqt.html,the qdoc source now living in qtbase. Docs src locations added to the qtcore.qdocconf. Task-number: QTBUG-97842 Pick-to: 6.2 Change-Id: I94783520280098ce1ab35f335a644bea70b8131a Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>