Commit 87599851 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

It compiles fine without deprecated method

parent 2ca2b7a9
Pipeline #62157 passed with stage
in 40 minutes and 5 seconds
...@@ -104,7 +104,7 @@ set_package_properties(KF5AkonadiSearch PROPERTIES DESCRIPTION "The Akonadi Sear ...@@ -104,7 +104,7 @@ set_package_properties(KF5AkonadiSearch PROPERTIES DESCRIPTION "The Akonadi Sear
set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_STANDARD_REQUIRED ON)
add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050e00) add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050e00)
add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x055200) add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x055300)
if(BUILD_TESTING) if(BUILD_TESTING)
add_definitions(-DBUILD_TESTING) add_definitions(-DBUILD_TESTING)
endif() endif()
......
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