Browse Source

Disable functions deprecated in Qt 5.14 and earlier

adaptive-webui-19844
Vladimir Golovnev (Glassez) 4 years ago committed by Vladimir Golovnev
parent
commit
2bd2490539
  1. 2
      cmake/Modules/MacroQbtCommonConfig.cmake
  2. 2
      src/src.pro

2
cmake/Modules/MacroQbtCommonConfig.cmake

@ -17,7 +17,7 @@ macro(qbt_common_config) @@ -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

2
src/src.pro

@ -56,7 +56,7 @@ CONFIG(release, debug|release) { @@ -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

Loading…
Cancel
Save