Commit dde09cf9 authored by Nicolás Alvarez's avatar Nicolás Alvarez
Browse files

Revert the KF5 version bump

It broke the build due to use of APIs that are deprecated in the new
KF_DISABLE_DEPRECATED_BEFORE_AND_AT setting.

This reverts commit ea46b509.
parent ea46b509
Pipeline #61205 passed with stage
in 22 minutes and 29 seconds
...@@ -9,7 +9,7 @@ include(CheckIncludeFiles) ...@@ -9,7 +9,7 @@ include(CheckIncludeFiles)
if (POLICY CMP0063) if (POLICY CMP0063)
cmake_policy(SET CMP0063 NEW) cmake_policy(SET CMP0063 NEW)
endif() endif()
set(KF5_MIN_VERSION "5.82.0") set(KF5_MIN_VERSION "5.81.0")
find_package(ECM ${KF5_MIN_VERSION} CONFIG REQUIRED) find_package(ECM ${KF5_MIN_VERSION} CONFIG REQUIRED)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH}) set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH})
...@@ -155,7 +155,7 @@ if(BUILD_TESTING) ...@@ -155,7 +155,7 @@ if(BUILD_TESTING)
add_definitions(-DBUILD_TESTING) add_definitions(-DBUILD_TESTING)
endif() endif()
add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050f00) add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050f00)
add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x055300) add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x055200)
set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_STANDARD_REQUIRED ON)
......
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