《QML 参考手册》

QML 是一种用于创建高度动态应用程序的多范式语言。通过 QML,可以声明应用程序的构建块(如 UI 组件),并设置各种属性来定义应用程序的行为。 应用程序的行为还可以通过 JavaScript(作为该语言的一个子集)进一步进行脚本化控制。此外,Qt Qml 大量使用 Qt,这使得 Qml 应用程序可以直接访问 Qt 的类型和其他功能。

本参考指南介绍了 QML 语言的特性。指南中提到的许多 QML 类型源自 Qt Qml 或 Qt Quick 模块。

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