Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Creating multiple QML objects simultaneously
QTLeearn last edited by
This post is deleted!
Pablo J. Rogina last edited by
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.