mirror of
https://github.com/c0re100/qBittorrent-Enhanced-Edition.git
synced 2025-01-09 04:18:39 +08:00
Disable functions deprecated in Qt 5.15.2 and earlier
This commit is contained in:
parent
399d3ad85a
commit
925bf7715c
@ -17,7 +17,7 @@ macro(qbt_common_config)
|
|||||||
)
|
)
|
||||||
|
|
||||||
target_compile_definitions(qbt_common_cfg INTERFACE
|
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_TO_ASCII
|
||||||
QT_NO_CAST_FROM_BYTEARRAY
|
QT_NO_CAST_FROM_BYTEARRAY
|
||||||
QT_USE_QSTRINGBUILDER
|
QT_USE_QSTRINGBUILDER
|
||||||
|
@ -56,7 +56,7 @@ CONFIG(release, debug|release) {
|
|||||||
include(../version.pri)
|
include(../version.pri)
|
||||||
|
|
||||||
# Qt defines
|
# Qt defines
|
||||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x050e00
|
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x050f02
|
||||||
DEFINES += QT_NO_CAST_TO_ASCII
|
DEFINES += QT_NO_CAST_TO_ASCII
|
||||||
DEFINES += QT_NO_CAST_FROM_BYTEARRAY
|
DEFINES += QT_NO_CAST_FROM_BYTEARRAY
|
||||||
DEFINES += QT_USE_QSTRINGBUILDER
|
DEFINES += QT_USE_QSTRINGBUILDER
|
||||||
|
Loading…
Reference in New Issue
Block a user