Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-101428

QtProtobuf: update and fix type registration

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • None
    • 6.4
    • Core: Other
    • None
    • All
    • 5
    • Team B Foundation Sprint 53

    Description

      Currently the type registration is manual, as in, you need to manually call a function to register types on startup of your program. The way it is currently done may also lead to some warnings in Qt as qtprotobuf attempts to register aliases to types about re-registering types (which was fine in qt5, but in qt6 it is resolved to the actual type). And one assert about a call to qRegisterNormalizedMetaType with a non-normalized type, which should all go away.

      Preferably the types should just register themselves without adding (too much) overhead to startup times.

      The code is still in git.qt.io

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            manordheim Mårten Nordheim
            manordheim Mårten Nordheim
            Vladimir Minenko Vladimir Minenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes