Quantcast
Viewing all articles
Browse latest Browse all 4972

QML context of dynamically generated items

How are you giving object name ? For createObject can you pass the objectName as well ?. You can try some thing like the following and see                 var obj = component.createObject(parent, {"objectName" :"myObj", "x": 100, "y": 100});

Viewing all articles
Browse latest Browse all 4972

Trending Articles