本页面

Qt Qml Core

应用程序权限

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

QML 类型

BluetoothPermission

访问用户的蓝牙外设

CalendarPermission

访问用户的日历

CameraPermission

访问用户的摄像头

ContactsPermission

访问用户的联系人

LocationPermission

访问用户的定位信息

MicrophonePermission

访问用户的麦克风

Settings

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

StandardPaths

提供对标准系统路径的访问权限

SystemInformation

提供有关系统的信息

许可证

Qt Qml Core 可通过The Qt Company 提供的商业许可证使用。此外,它还遵循GNU 较宽松通用公共许可证第 3 版或 GNU 通用公共许可证第 2 版。更多详情请参阅Qt 许可。

© 2026 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.