Browse Source

Disable functions deprecated in Qt 5.15.2 and earlier

adaptive-webui-19844
Vladimir Golovnev (glassez) 3 years ago committed by Vladimir Golovnev (Glassez)
parent
commit
925bf7715c
No known key found for this signature in database
GPG Key ID: 52A2C7DEE2DFA6F7
  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_DISABLE_DEPRECATED_BEFORE=0x050e00
QT_DISABLE_DEPRECATED_BEFORE=0x050f02
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_DISABLE_DEPRECATED_BEFORE=0x050e00
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x050f02
DEFINES += QT_NO_CAST_TO_ASCII
DEFINES += QT_NO_CAST_FROM_BYTEARRAY
DEFINES += QT_USE_QSTRINGBUILDER

Loading…
Cancel
Save