The QML Reference¶
A multi-paradigm language for application development
QML is a multi-paradigm language for creating highly dynamic applications. With QML, application building blocks such as UI components are declared and various properties set to define the application behavior. Application behavior can be further scripted through JavaScript, which is a subset of the language. In addition, QML heavily uses Qt, which allows types and other Qt features to be accessible directly from QML applications.
This reference guide describes the features of the QML language. Many of the QML types in the guide originate from the Qt Qml or Qt Quick modules.
The QML Language
Property Shadowing and Override Semantics
QML Attached Types
Data Type Conversion Between QML and C++
Interacting with QML Objects from C++
Integrating with JavaScript values from C++
Embedding C++ Objects into QML with Context Properties
Defining QML Types from C++
Registering Types
Exposing Attributes of C++ Types to QML
Exposing State from C++ to QML
Tying it all together with CMake
Fine Tuning QML Modules
Port QML modules to CMake
Creating C++ Plugins for QML
The Number JavaScript Object
The Date JavaScript Object
The XMLHttpRequest JavaScript Object