Quantcast
Viewing all articles
Browse latest Browse all 4972

HowTo: Struct -> QVariant -> QML type

Hi all, I have a struct which I wanted to use in QML. Is my understanding correct that: I could wrap my struct in QVariant, then I could just make a similarly structured js object in QML, then pass that to c++ side. Or am I totally wrong and I need a different approach? Thanks before, evan

Viewing all articles
Browse latest Browse all 4972

Trending Articles