mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-22 12:34:19 +00:00
Disallow narrowing conversions in signal connection
This commit is contained in:
parent
567dd3fabb
commit
7764169aa3
@ -21,6 +21,7 @@ macro(qbt_common_config)
|
|||||||
QT_NO_CAST_FROM_ASCII
|
QT_NO_CAST_FROM_ASCII
|
||||||
QT_NO_CAST_TO_ASCII
|
QT_NO_CAST_TO_ASCII
|
||||||
QT_NO_CAST_FROM_BYTEARRAY
|
QT_NO_CAST_FROM_BYTEARRAY
|
||||||
|
QT_NO_NARROWING_CONVERSIONS_IN_CONNECT
|
||||||
QT_USE_QSTRINGBUILDER
|
QT_USE_QSTRINGBUILDER
|
||||||
QT_STRICT_ITERATORS
|
QT_STRICT_ITERATORS
|
||||||
$<$<NOT:$<CONFIG:Debug>>:QT_NO_DEBUG_OUTPUT>
|
$<$<NOT:$<CONFIG:Debug>>:QT_NO_DEBUG_OUTPUT>
|
||||||
|
14
src/src.pro
14
src/src.pro
@ -61,12 +61,14 @@ CONFIG(release, debug|release) {
|
|||||||
include(../version.pri)
|
include(../version.pri)
|
||||||
|
|
||||||
# Qt defines
|
# Qt defines
|
||||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x050f02
|
DEFINES += \
|
||||||
DEFINES += QT_NO_CAST_FROM_ASCII
|
QT_DISABLE_DEPRECATED_BEFORE=0x050f02 \
|
||||||
DEFINES += QT_NO_CAST_TO_ASCII
|
QT_NO_CAST_FROM_ASCII \
|
||||||
DEFINES += QT_NO_CAST_FROM_BYTEARRAY
|
QT_NO_CAST_TO_ASCII \
|
||||||
DEFINES += QT_USE_QSTRINGBUILDER
|
QT_NO_CAST_FROM_BYTEARRAY \
|
||||||
DEFINES += QT_STRICT_ITERATORS
|
QT_NO_NARROWING_CONVERSIONS_IN_CONNECT \
|
||||||
|
QT_USE_QSTRINGBUILDER \
|
||||||
|
QT_STRICT_ITERATORS
|
||||||
|
|
||||||
INCLUDEPATH += $$PWD
|
INCLUDEPATH += $$PWD
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user