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

Refactor QVariant internals

    XMLWordPrintable

    Details

    • Epic Link:
    • Story Points:
      21
    • Sprint:
      Qt6_Foundation_ Sprint 11, Qt6_Foundation_ Sprint 13, Qt6_Foundation_ Sprint 14, Qt6_Foundation_Sprint 15, Qt6_Foundation_Sprint 16

      Description

      QVariant currently still uses it's own duplicated code to handle built-in types.

      The handler struct in QVariant, including the gui and widget handlers should get removed, and we should use the handlers provided by QMetaType instead.

      This will cause our built-in and external types to use the same code paths, and should simplify a lot of the QVariant related code.

      Open item here are the automatic conversions QVariant does. These are not reflected in the QMetaType data, and probably should not be handled there neither. So this might still require some special handling, but it should not go through the current handler structs.

       

        Attachments

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

          Activity

            People

            Assignee:
            laknoll Lars Knoll
            Reporter:
            laknoll Lars Knoll
            PM Owner:
            Maurice Kalinowski
            RnD Owner:
            Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes