I have a QQuickItem, I want to create QQuickText items dynamically in it according to the text property. Because this QQuickItem is a kind of plugin, so I can’t get the QQmlEngine directly from the view(I don’t know who will use it, I want it to hehave like a normal qml plugin), how to get QQmlEngine from QQuickItem so I can use QQmlComponent to create QQuickText?
Bye the way,can I create QQuickText directly? can I use the private header files?
↧








