[Development] [Interest] Need help with deprecated QVariant functions

Edward Welbourne edward.welbourne at qt.io
Mon Feb 25 11:54:58 CET 2019


Il 21/02/19 21:09, Christian Ehrlicher ha scritto:
>> 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.

Giuseppe D'Angelo (22 February 2019 21:38) 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?

I have filed QTBUG-74043 to track this; feel free to take over as assignee
if you've the time to investigate.

	Eddy.



More information about the Development mailing list