Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

How to access c++ vector in QML

$
0
0
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.

Viewing all articles
Browse latest Browse all 4972

Trending Articles