diff --git a/config.pri b/config.pri index 64b23da4..3b14f8c2 100644 --- a/config.pri +++ b/config.pri @@ -39,6 +39,9 @@ minQtVersion(6, 0, 0) { error(YACReader does not support building with Qt6 (yet)) } +DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x050900 +DEFINES += QT_DEPRECATED_WARNINGS + # reduce log pollution CONFIG += silent