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
↧