Nt Qml C++ Classes
A JavaScript engine for scripting applications, and the QML engine.
Using the Module
target_link_libraries(app PRIVATE Nt::Qml)
Nt Qml runs JavaScript and QML. QJSEngine evaluates programs, QJSValue holds what they make, and QObjects take part in scripts with their properties, slots and signals; see Using Nt Qml. QQmlEngine and QQmlComponent make objects from QML documents, with bindings that keep their properties up to date; see Using Nt QML.
Link with Nt::Qml and include <QJSEngine>, <QQmlEngine> or <QtQml>.
Classes
| QJSEngine | The QJSEngine class runs JavaScript programs. |
| QJSValue | The QJSValue class holds a value of a JavaScript engine. |
| QJSValueIterator | The QJSValueIterator class iterates over the enumerable own properties of an object. |
| QQmlApplicationEngine | The QQmlApplicationEngine class loads the main QML document of an application. |
| QQmlComponent | The QQmlComponent class makes objects from a QML document. |
| QQmlContext | The QQmlContext class is a scope of names for the expressions of a QML component. |
| QQmlContext::PropertyPair | A name and a value, for setContextProperties(). |
| QQmlEngine | The QQmlEngine class makes objects from QML documents. |
| QQmlError | The QQmlError class describes an error in a QML document. |
| QQmlListProperty | The QQmlListProperty class is a list of objects that QML documents fill. |
| QQmlParserStatus | The QQmlParserStatus class tells an object when QML starts and finishes making it. |