[Development] On deprecating functions

Christian Kandeler Christian.Kandeler at qt.io
Tue Mar 5 10:26:39 CET 2019


On Mon, 4 Mar 2019 22:27:42 +0100
André Pönitz <apoenitz at t-online.de> wrote:

> (5) Use #if (QT_VERSION / QT_VERSION_CHECK. To "fix" perfectly
> valid code *for cosmetical reasons*? DUH!

Example: https://codereview.qt-project.org/#/c/252715/1 was necessary because of the immediate deprecation of an existing function when a nicer looking replacement was introduced.


Christian


More information about the Development mailing list