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.
To include the definitions of the module's classes, use the following directive:
The QML types in Qt QML are available through the
QtQML import. To use the types, add the following import statement to your .qml file:
import QtQml 2.11
To link against the module, add this line to your qmake
QT += qml
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.
New in Qt 5.1, the model types are moved to a submodule,
QtQml.Models. The Qt QML Models page has more information.
These sections are from The QML Reference.
Qt QML is available under commercial licenses from The Qt Company. In addition, it is available under free software licenses. Since Qt 5.4, these free software licenses are GNU Lesser General Public License, version 3, or the GNU General Public License, version 2. See Qt Licensing for further details.
Furthermore Qt QML in Qt 5.11.2 may contain third party modules under following permissive licenses:
BSD 2-clause "Simplified" License
Further information for writing QML applications:
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: