Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

parameter in constructor of a custom qquickitem

$
0
0
Hello, I used : qmlRegisterType<MyClass>("MyLib", 0,1, "MyClass"); to used my class as a custom item in qml. It works fine. But now i would like to use the same class but i want to pass parameter to the constructor of the class. How can i used the qmlRegisterType for this. Thanks matteli

Viewing all articles
Browse latest Browse all 18427

Trending Articles