Commit 8bc7f72a authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

Utilize ecm_set_deprecation_versions to exclude deprecated API

parent 63124f56
Pipeline #123156 passed with stage
in 4 minutes and 30 seconds
......@@ -26,6 +26,7 @@ include(CMakePackageConfigHelpers)
include(GenerateExportHeader)
include(FeatureSummary)
include(ECMQtDeclareLoggingCategory)
include(ECMDeprecationSettings)
ecm_setup_version(${RELEASE_SERVICE_VERSION} VARIABLE_PREFIX DOLPHIN
VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/src/dolphin_version.h"
......@@ -138,11 +139,10 @@ else()
set(HAVE_TERMINAL TRUE)
endif()
add_definitions(
-DQT_DISABLE_DEPRECATED_BEFORE=0x050f00
-DQT_DEPRECATED_WARNINGS_SINCE=0x060000
-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x055800
-DKF_DEPRECATED_WARNINGS_SINCE=0x060000
ecm_set_disabled_deprecation_versions(SHOW_DEPRECATIONS
QT 5.15
KF 5.90
KSERVICE 5.89 # We use KServiceTypeTrader in a compat code path
)
add_subdirectory(src)
......
......@@ -16,6 +16,7 @@
#include <KDirLister>
#include <KIO/Job>
#include <KLocalizedString>
#include <KLazyLocalizedString>
#include <KUrlMimeData>
#include <QElapsedTimer>
......
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