The Qt QML module defines and implements the QML language
Note that while the Qt QML module provides the language and infrastructure for QML applications, the Qt Quick module provides many visual components, model-view support, an animation framework, and much more for building user interfaces.
For those new to QML and Qt Quick, please see QML Applications for an introduction to writing QML applications.
Using the Module¶
To include the definitions of modules classes, use the following directive:
The module also provides QML types .
QML and QML Types¶
The Qt QML module contains the QML framework and important QML types used in applications. The constructs of QML are described in the The QML Reference .
In addition to the QML Basic Types , the module comes with the following QML object types:
The Qt global object provides useful enums and functions for various QML types.
Lists and Models¶
New in Qt 5.1, the model types are moved to a submodule,
Qt QML Models page has more information.
These sections are from The QML Reference .
© 2022 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.