Qt 5.11 | Qt QML | Qt QML C++ Classes

Qt 5.11.3 Reference Documentation

# Qt QML C++ Classes

The C++ API provided by the Qt QML module. More...

## Classes

QQmlContext::PropertyPair
QJSEngine | Environment for evaluating JavaScript code
QJSValue | Acts as a container for Qt/JavaScript data types
QJSValueIterator | Java-style iterator for QJSValue
QQmlAbstractUrlInterceptor | Allows you to control QML file loading
QQmlApplicationEngine | Convenient way to load an application from a single QML file
QQmlComponent | Encapsulates a QML component definition
QQmlContext | Defines a context within a QML engine
QQmlEngine | Environment for instantiating QML components
QQmlError | Encapsulates a QML error
QQmlExpression | Evaluates JavaScript in a QML context
QQmlExtensionPlugin | Abstract base for custom QML extension plugins
QQmlFileSelector | A class for applying a QFileSelector to QML file loading
QQmlImageProviderBase | Used to register image providers in the QML engine
QQmlIncubationController | Instances drive the progress of QQmlIncubators
QQmlIncubator | Allows QML objects to be created asynchronously
QQmlListProperty | Allows applications to expose list-like properties of QObject-derived classes to QML
QQmlListReference | Allows the manipulation of QQmlListProperty properties
QQmlNetworkAccessManagerFactory | Creates QNetworkAccessManager instances for a QML engine
QQmlParserStatus | Updates on the QML parser state
QQmlProperty | Abstracts accessing properties on objects created from QML
QQmlPropertyMap | Allows you to set key-value pairs that can be used in QML bindings
QQmlPropertyValueSource | Interface for property value sources such as animations and bindings
QQmlScriptString | Encapsulates a script and its context

## Detailed Description

To include the definitions of the module's classes, use the following directive:

      #include <QtQml>

To link against the module, add this line to your qmake `.pro` file:

      QT += qml

For more information on the Qt QML module, see the Qt QML module documentation.