Creating multiple QML objects simultaneously
Unsolved
QML and Qt Quick
-
@QTLeearn said in Creating multiple QML objects simultaneously:
Qt.createQmlObject
Not that I've used it, but from documentation that method will return one object.
Returns a new object created from the given qml string which will have the specified parent, or null if there was an error in creating the object.
So your example QML string seems not suitable.
However, I expect (just my assumption) that multiple nested objects could be created from a QML string, given that just one of them is the parent of the remaining ones.