Qt Qml 核心

应用程序权限

该模块通过一组权限类型将 Qt C++Application Permissions功能暴露给 QML,这些权限类型可用于以跨平台方式检查或请求权限。更多详情,请参阅QML Application Permissions

QML 类型

BluetoothPermission

访问用户的蓝牙外设

CalendarPermission

访问用户的日历

CameraPermission

访问用户的摄像头

ContactsPermission

访问用户的联系人

LocationPermission

访问用户位置

MicrophonePermission

访问用户的麦克风

Settings

提供与平台无关的持久性应用程序设置

StandardPaths

访问标准系统路径

SystemInformation

提供系统信息

© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.