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

Obtain object type string from QML

$
0
0
Hello! How I can obtain type of a object from QML code? I need this feature in Loader: Loader {             sourceComponent: myObj.type === "MyObject" ? delegate1 : delegate2 }

Viewing all articles
Browse latest Browse all 4972

Trending Articles