AFAIK, you can’t use vector of objects in QML. (not sure though :))
The best possbile way would be to use a QVariantMap to store object properties as Map elements. See this [qt-project.org] for how to access QVariantMap in QML.
↧