Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Is qmlRegisterType going to be deprecated?



  • We have a lot of code that uses qmlRegisterType. I looked at the docs and I don't see any indication in version 5.15 that it is deprecated. However, the 5.15 docs shows a new method for registering types.

    Looking at this new method I see no way to indicate at the type itself which QML_IMPORT_NAME the type will be associated with. We separate out our types to different import modules. So the new way isn't as useful as the old way. At least not from what I can tell.


  • Qt Champions 2018

    No, it will stay there from what I understood.


Log in to reply