From f3c839ecc461245d56f056397c18c4f4ee8cd966 Mon Sep 17 00:00:00 2001 From: Assam Boudjelthia Date: Thu, 30 Jan 2025 15:02:49 +0200 Subject: [PATCH] Android: add note about using qt_add_android_permission() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ie8d48ce1460b6f7fe4023f204be8fd2511cabe4d Reviewed-by: Juha Vuolle Reviewed-by: Tor Arne Vestbø (cherry picked from commit 91d86e4f7a58cc2f3071234e42848928a4aea45c) Reviewed-by: Qt Cherry-pick Bot --- src/corelib/kernel/qpermissions.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/corelib/kernel/qpermissions.cpp b/src/corelib/kernel/qpermissions.cpp index 6e8cab8f1b1..fc72c451800 100644 --- a/src/corelib/kernel/qpermissions.cpp +++ b/src/corelib/kernel/qpermissions.cpp @@ -118,7 +118,8 @@ Q_LOGGING_CATEGORY(lcPermissions, "qt.permissions", QtWarningMsg); 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}. + {point the build system to your custom \c AndroidManifest.xml} + or use \l {qt_add_android_permission()}. The relevant permission names are described in the documentation for each permission type.