Commit 0e2a51a0 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Use ECMDeprecationSettings, bump hidden deprec. API to KF 5.95

NO_CHANGELOG
parent 6782acdf
Pipeline #196385 passed with stage
in 2 minutes and 6 seconds
......@@ -21,6 +21,7 @@ include(ECMPoQmTools)
include(ECMGenerateExportHeader)
include(ECMSetupVersion)
include(ECMGenerateHeaders)
include(ECMDeprecationSettings)
include(ECMAddQch)
include(CMakePackageConfigHelpers)
......@@ -56,8 +57,12 @@ ecm_setup_version(PROJECT VARIABLE_PREFIX KJOBWIDGETS
VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/kjobwidgets_version.h"
PACKAGE_VERSION_FILE "${CMAKE_CURRENT_BINARY_DIR}/KF5JobWidgetsConfigVersion.cmake"
SOVERSION 5)
add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050f02)
add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x055900)
ecm_set_disabled_deprecation_versions(
QT 5.15.2
KF 5.95
)
ecm_install_po_files_as_qm(po)
add_subdirectory(src)
......
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