[Development] QVariant::operator< deprecation fallout

Edward Welbourne edward.welbourne at qt.io
Tue Nov 24 16:29:28 CET 2020

On 23/11/2020 08:48, Fabian Kosmale wrote:
>> I think we should at least_somehow_ deprecate operator<; but I'm not
>> sure if it should be a special deprecation macro, or a special one.

Giuseppe D'Angelo (23 November 2020 15:47) wrote:
> I'm guessing you meant generic / special. I'm more keen on keeping
> everything deprecated, but with a special macro. (Or maybe just bump
> the deprecation version to 6.0 instead of 5.15?)

I think changing the version to 6.0 is a sane option.  It'll leave it
visibly deprecated, it'll let someone defining the right macro [*] enable
that deprecation, but it won't inflict deprecation warnings on those who
just want to build with 5.15.

[*] IIUC, that'd be: -DQT_DISABLE_DEPRECATED_BEFORE=0x060001


More information about the Development mailing list