@Dheerendra,
Yeah that’s exactly how I’m doing now. That way wraps the C++ type in a QML type, and then I create the QML type dynamically, like your sample code does.
My original question was different. I asked how to create and use the C++ type directly, without the QML type wrapper.
However, now I get used to and I really like the idea to wrap C++ type in a QML type, so my original question is not a problem any more.
Thanks for your reply.
↧