mirror of
https://github.com/QuasarApp/qca.git
synced 2025-05-17 20:59:34 +00:00
Add QT_STRICT_ITERATORS
This commit is contained in:
parent
79af2e7fdf
commit
6b229c3ae2
@ -107,6 +107,14 @@ add_definitions(-DQT_NO_SIGNALS_SLOTS_KEYWORDS
|
|||||||
-DQT_USE_QSTRINGBUILDER
|
-DQT_USE_QSTRINGBUILDER
|
||||||
-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT)
|
-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT)
|
||||||
|
|
||||||
|
if (NOT WIN32)
|
||||||
|
# Strict iterators can't be used on Windows, they lead to a link error
|
||||||
|
# when application code iterates over a QVector<QPoint> for instance, unless
|
||||||
|
# Qt itself was also built with strict iterators.
|
||||||
|
# See example at https://bugreports.qt.io/browse/AUTOSUITE-946
|
||||||
|
add_definitions(-DQT_STRICT_ITERATORS)
|
||||||
|
endif()
|
||||||
|
|
||||||
include_directories("include/QtCrypto/")
|
include_directories("include/QtCrypto/")
|
||||||
# for generated files
|
# for generated files
|
||||||
include_directories(${CMAKE_BINARY_DIR})
|
include_directories(${CMAKE_BINARY_DIR})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user