Quantcast
Channel: Installation and Deployment
Viewing all articles
Browse latest Browse all 22112

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 22112

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>