$ 0 0 Hi, I prefer to use qmlRegisterType [qt-project.org] to expose a c++ class to QML, so you can create objects from QML rather than c++.