[Qt-creator] HowTo get rid of QNetworkConfigurationManager-is-deprecated-warnings

ekke ekke at ekkes-corner.org
Thu Jun 17 10:07:14 CEST 2021


Am 16.06.21 um 23:23 schrieb Giuseppe D'Angelo via Qt-creator:
> Hi,
>
> Il 16/06/21 22:24, ekke ha scritto:
>> How can I disable deprecation warnings altogether ?
>>
>> A workaround could be to disable them and only from time to time 
>> enable and check if there are deprecations to fix.
>>
>
> IIRC, by defining QT_NO_DEPRECATED_WARNINGS.
>
> HTH,
>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> https://lists.qt-project.org/listinfo/qt-creator

THX - it works :)

added to my .pro:

#QT_NO_DEPRECATED_WARNINGSwillshownodeprecatedwarnings

#commentoutandbuild-clean-projecttoseethemall

#shouldbedonefromtimetotime

#whilepreparingsrcforQt6

DEFINES+=QT_NO_DEPRECATED_WARNINGS

ekke

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20210617/b37789e1/attachment.html>


More information about the Qt-creator mailing list