Disable functions deprecated in Qt 5.14 and earlier

This commit is contained in:
Vladimir Golovnev (Glassez) 2021-06-14 17:13:12 +03:00 committed by Vladimir Golovnev
parent 5c0378a684
commit 2bd2490539
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ macro(qbt_common_config)
)
target_compile_definitions(qbt_common_cfg INTERFACE
QT_DEPRECATED_WARNINGS
QT_DISABLE_DEPRECATED_BEFORE=0x050e00
QT_NO_CAST_TO_ASCII
QT_NO_CAST_FROM_BYTEARRAY
QT_USE_QSTRINGBUILDER

View File

@ -56,7 +56,7 @@ CONFIG(release, debug|release) {
include(../version.pri)
# Qt defines
DEFINES += QT_DEPRECATED_WARNINGS
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x050e00
DEFINES += QT_NO_CAST_TO_ASCII
DEFINES += QT_NO_CAST_FROM_BYTEARRAY
DEFINES += QT_USE_QSTRINGBUILDER