QML 参考资料

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

本参考指南介绍了 QML 语言的功能。指南中的许多 QML 类型源于 Qt QmlQt 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.