From e48aac4ec6c1a5a0e4578d9f4bbf50d4eac4b3d1 Mon Sep 17 00:00:00 2001 From: Assam Boudjelthia Date: Thu, 30 Jan 2025 15:01:23 +0200 Subject: [PATCH] Android: add note on using custom AndroidManifest.xml for permissions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Setting permissions manually require the user to point to the manually managed AndroidManifest.xml file. Pick-to: 6.8 Change-Id: Iae289ad32a12f869a5a0ec0261bc3e771d94a15d Reviewed-by: Juha Vuolle Reviewed-by: Tor Arne Vestbø (cherry picked from commit 40e18c7c7e3afd8dacf22879ec1bc442ecbd9877) Reviewed-by: Qt Cherry-pick Bot --- src/corelib/kernel/qpermissions.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/corelib/kernel/qpermissions.cpp b/src/corelib/kernel/qpermissions.cpp index bfe8087d969..6e8cab8f1b1 100644 --- a/src/corelib/kernel/qpermissions.cpp +++ b/src/corelib/kernel/qpermissions.cpp @@ -116,6 +116,10 @@ Q_LOGGING_CATEGORY(lcPermissions, "qt.permissions", QtWarningMsg); \endcode + To ensure the relevant permission backend is included with your + application, please \l {QT_ANDROID_PACKAGE_SOURCE_DIR} + {point the build system to your custom \c AndroidManifest.xml}. + The relevant permission names are described in the documentation for each permission type.