Qt Qml Core QML Types

Qt Qml Core 模块用 QML 提供核心系统功能。

可在 .qml 文件中使用以下导入语句将 QML 类型导入应用程序:

import QtCore

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.