[Development] On deprecating functions
Christian Ehrlicher
Ch.Ehrlicher at gmx.de
Tue Mar 5 22:46:13 CET 2019
Am 05.03.2019 um 11:53 schrieb Tor Arne Vestbø:
>> On 5 Mar 2019, at 11:27, Giuseppe D'Angelo via Development <development at qt-project.org> wrote:
>>
>> Il 05/03/19 08:14, Lars Knoll ha scritto:
>>> One solution I thought about is to replace the QT_DEPRECATED(_X) macros with something that also contains the version (similar to QT_DEPRECATED_SINCE). Then the user could define how current he wants to be, and we could set a reasonable default going e.g. one LTS back.
>> I'd go with this one. Should make everyone happy. Can anyone see any adverse effect?
> I also prefer this one.
Here a possible implementation for discussion, tested with the new
QComboBox changes:
https://codereview.qt-project.org/255051
Christian
More information about the Development
mailing list