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

Qml variant to custom QtObject

$
0
0
Reading your qml, you use a variant there too. Its almost never useful to have a variant in QML, since QML is typesafe. In this case you don’t need that property in the first place, but otherwise you should consider using the QtObject type instead;

Viewing all articles
Browse latest Browse all 4972

Trending Articles