diff options
Diffstat (limited to 'src/corelib/kernel/qpermissions.cpp')
-rw-r--r-- | src/corelib/kernel/qpermissions.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/corelib/kernel/qpermissions.cpp b/src/corelib/kernel/qpermissions.cpp index 46b989c50c..ae9cc6161d 100644 --- a/src/corelib/kernel/qpermissions.cpp +++ b/src/corelib/kernel/qpermissions.cpp @@ -85,7 +85,8 @@ Q_LOGGING_CATEGORY(lcPermissions, "qt.permissions", QtWarningMsg); \target apple-usage-description Each permission you request must be accompanied by a so called - \e {usage description} string in the application's \c Info.plist + \e {usage description} string in the application's + \l{Information Property List Files}{\c Info.plist} file, describing why the application needs to access the given permission. For example: @@ -97,6 +98,10 @@ Q_LOGGING_CATEGORY(lcPermissions, "qt.permissions", QtWarningMsg); The relevant usage description keys are described in the documentation for each permission type. + To ensure the relevant permission backend is included with your + application, please \l{Information Property List Files} + {point the build system to your custom \c Info.plist}. + \sa {Information Property List Files}. \section3 Android @@ -226,7 +231,7 @@ Q_LOGGING_CATEGORY(lcPermissions, "qt.permissions", QtWarningMsg); */ /*! - \fn template <typename T, if_permission<T>> QPermission::QPermission(const T &type) + \fn template <typename T, QPermission::if_permission<T>> QPermission::QPermission(const T &type) Constructs a permission from the given \l{typed permission} \a type. @@ -240,7 +245,7 @@ Q_LOGGING_CATEGORY(lcPermissions, "qt.permissions", QtWarningMsg); */ /*! - \fn template <typename T, if_permission<T>> std::optional<T> QPermission::value() const + \fn template <typename T, QPermission::if_permission<T>> std::optional<T> QPermission::value() const Returns the \l{typed permission} of type \c T, or \c{std::nullopt} if this QPermission object doesn't contain one. |