[sysadmin/release-tools/frameworks/5.0] /: KF5: auto-increase QT_DISABLE_DEPRECATED_BEFORE when upgrading the min Qt version

David Faure faure at kde.org
Thu Oct 24 23:35:46 BST 2019


On jeudi 24 octobre 2019 22:24:55 CEST Friedrich W. H. Kossebau wrote:
> BTW, we want to also set
>     -DQT_DEPRECATED_WARNINGS_SINCE=0x060000
> otherwise the deprecations done with QT_DEPRECATED_VERSION in Qt's API will
> not emit warnings, because QT_DEPRECATED_WARNINGS_SINCE defaults to
> QT_DISABLE_DEPRECATED_BEFORE if set.

Oh, good to know. Done now for all of KF5.

> Otherwise there will be bad surprises when bumping
> QT_DISABLE_DEPRECATED_BEFORE.

There will be anyway, given that people ignore warnings :-)

-- 
David Faure, faure at kde.org, http://www.davidfaure.fr
Working on KDE Frameworks 5





More information about the Kde-frameworks-devel mailing list