Details
-
User Story
-
Resolution: Done
-
P2: Important
-
6.0.0
-
None
-
21
-
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
For Gerrit Dashboard: QTBUG-84635 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
302999,5 | Remove unused function pointers in QVariant::Handler | dev | qt/qtbase | Status: MERGED | +2 | 0 |
303001,4 | Remove unused argument from method | dev | qt/qtbase | Status: MERGED | +2 | 0 |