Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qt_add_android_permission.qdoc
Go to the documentation of this file.
1
// Copyright (C) 2024 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
3
4
/*!
5
\page qt-add-android-permission.html
6
\ingroup cmake-commands-qtcore
7
8
\title qt_add_android_permission
9
\keyword qt6_add_android_permission
10
11
\summary {Adds an Android permission to the target executable.}
12
13
\include cmake-find-package-core.qdocinc
14
15
\cmakecommandsince 6.9
16
17
\note When using this API, the \c{<!-- %%INSERT_PERMISSIONS -->} tag must be present
18
in the AndroidManifest.xml. For further information on the use of this tag,
19
see \l {Qt Permissions and Features}
20
21
\section1 Synopsis
22
23
\badcode
24
qt_add_android_permission(target NAME <permission-name> [ATTRIBUTES <name1> <value1> ...])
25
\endcode
26
27
\versionlessCMakeCommandsNote qt6_add_android_permission()
28
29
\section1 Description
30
31
The command adds an Android permission to the \c {target} executable.
32
This can be used to define additional permissions, or overriding
33
the default permissions set by Qt modules.
34
35
For further information on defining Android permissions,
36
see \l {Qt Permissions and Features}.
37
38
\section1 Example
39
40
\snippet cmake-macros/examples.cmake qt_add_android_permission
41
42
*/
qtbase
src
corelib
doc
src
cmake
qt_add_android_permission.qdoc
Generated on
for Qt by
1.16.1