How to create custom QQuickItem instance and add it to parent in c++?
tracyma last edited by
I have two custom
QQuickItems, one as parent and one as child. I want to create the child instance in c++, then add it to parent which is instanced in QML
tracyma last edited by tracyma
OK, find some useful doc http://doc.qt.io/qt-5/qtqml-cppintegration-interactqmlfromcpp.html#loading-qml-objects-from-c