Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

Is there any constructor function for Components ? Or Init ?

$
0
0
Please read document about “Defining QML Types from C++”. “Any QObject-derived C++ class can be registered as the definition of a QML object type. Once a class is registered with the QML type system, the class can be declared and instantiated like any other object type from QML code.” QML objects are created by QML engine according to QML documents. QML Engine Internals, Part 1: QML File Loading [kdab.com]

Viewing all articles
Browse latest Browse all 4972

Trending Articles