Commit 3890baa4 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Reduce strict compile flags here. As for qt5.15 it will not build

without big changes in code
parent 50c2466a
......@@ -23,8 +23,8 @@ include(FeatureSummary)
add_definitions(-DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS)
add_definitions(-DQT_NO_URL_CAST_FROM_STRING)
if (EXISTS "${CMAKE_SOURCE_DIR}/.git")
add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000)
add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x060000)
add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050e00)
add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x058000)
endif()
find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment