-
Bug
-
Resolution: Done
-
P2: Important
-
5.13.0
-
None
-
-
c19d556863d931f5fd04d9e27ee7a47aafeaca2a (qt/qtbase/dev)
Fom development@ discussion, first chehrlic:
[...] the two functions qVariantFromValue() and qVariantSetValue() are deprecated but the replacements QVariant::setValue() / fromValue() are using exactly those two functions...
Those two functions are some of the last obsolete functions which did not yet get decorated with QT_DEPRECATED but since this is affects a major class of Qt I don't think it's a task for me.
to which peppe replied:
Could it simply be possible to move the implementation of qVariantSetValue to QVariant::setValue, and then have the former call the latter, instead of viceversa?
That sounds like a plausible solution; we clearly need to look into this.
For Gerrit Dashboard: QTBUG-74043 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
256661,3 | QVariant: deprecate qVariantFromValue/qVariantSetValue() | dev | qt/qtbase | Status: MERGED | +2 | 0 |
258213,2 | Qt Designer: Fix deprecation warnings about QVariant API | dev | qt/qttools | Status: MERGED | +2 | 0 |
258216,2 | Fix deprecation warnings about QVariant API | dev | qt/qtmultimedia | Status: MERGED | +2 | 0 |
258219,4 | Fix deprecation warnings about QVariant API | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
258224,2 | Windows code: Replace deprecated QVariant API | dev | qt/qtbase | Status: MERGED | +2 | 0 |