QML recursive instantiation.
Unsolved
QML and Qt Quick
-
Hi,
REcursive instantiation is not allowed in QML as I see. https://codereview.qt-project.org/c/qt/qtdeclarative/+/30237
But how to accomplish this ? :# MyComp.qml Item { Repeater { model : [somedata] delegate: MyComp{} } }
There is no risk of infinite recursion since instantiation is controlled by the model.
I would need it to build something like a tree.
Thanks for help
Jimmy