Commit 9633cafb authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Restore same visibility of deprecated API for builds of tarball & checkout

Otherwise there is potential risk of resulting different implicit
conversions or overloaded methods

GIT_SILENT
parent ac35f672
...@@ -42,10 +42,8 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS ...@@ -42,10 +42,8 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
GlobalAccel GlobalAccel
) )
if (EXISTS "${CMAKE_SOURCE_DIR}/.git") add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050f00)
add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000) add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x054200)
add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x054200)
endif()
#add_definitions(-DQT_NO_CAST_FROM_ASCII -DQT_STRICT_ITERATORS -DQT_NO_CAST_FROM_BYTEARRAY) #add_definitions(-DQT_NO_CAST_FROM_ASCII -DQT_STRICT_ITERATORS -DQT_NO_CAST_FROM_BYTEARRAY)
......
Supports Markdown
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