Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Is qmlRegisterType going to be deprecated?
Forum Updated to NodeBB v4.3 + New Features

Is qmlRegisterType going to be deprecated?

Scheduled Pinned Locked Moved Solved QML and Qt Quick
2 Posts 2 Posters 397 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • fcarneyF Offline
    fcarneyF Offline
    fcarney
    wrote on last edited by
    #1

    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.

    C++ is a perfectly valid school of magic.

    1 Reply Last reply
    0
    • GrecKoG Offline
      GrecKoG Offline
      GrecKo
      Qt Champions 2018
      wrote on last edited by
      #2

      No, it will stay there from what I understood.

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved