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\section1 Synopsis
18
19\badcode
20qt_add_android_permission(target NAME <permission-name> [ATTRIBUTES <name1> <value1> ...])
21\endcode
22
23\versionlessCMakeCommandsNote qt6_add_android_permission()
24
25\section1 Description
26
27The command adds an Android permission to the \c {target} executable.
28This can be used to define additional permissions, or overriding
29the default permissions set by Qt modules.
30
31For further information on defining Android permissions,
32see \l {Qt Permissions and Features}.
33
34\section1 Example
35
36\snippet cmake-macros/examples.cmake qt_add_android_permission
37
38*/