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

Refactor QVariant internals

XMLWordPrintable

    • 21
    • Qt6_Foundation_ Sprint 11, Qt6_Foundation_ Sprint 13, Qt6_Foundation_ Sprint 14, Qt6_Foundation_Sprint 15, Qt6_Foundation_Sprint 16

      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.

       

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

            laknoll Lars Knoll
            laknoll Lars Knoll
            Maurice Kalinowski Maurice Kalinowski
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes