It seems an overkill to me to do it from within C++.
it sure isn't totally convenient, but still better IMO than Javascript. And additionally, I get better deployability (one shared lib vs. multiple QML files)

If you have to have a C++ plugin then why not implement the code in QML, embed it into the C++ plugin using the resource system and then expose the types from within the plugin?
but that is exactly what I am trying to to! Now just tell me how, and I am done . Maybe you have an example I can look at?

regards,
Chris