]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Build without KDE & Qt derecations
authorAlexander Lohnau <alexander.lohnau@gmx.de>
Thu, 11 Nov 2021 18:57:15 +0000 (19:57 +0100)
committerAlexander Lohnau <alexander.lohnau@gmx.de>
Mon, 13 Dec 2021 08:35:26 +0000 (08:35 +0000)
CMakeLists.txt

index 281d48938358bf1f820fa15d3c0cbab62d9dd490..ffc7dad3c33847acaaa914b9e03412f24cf4049e 100644 (file)
@@ -8,7 +8,7 @@ set (RELEASE_SERVICE_VERSION "${RELEASE_SERVICE_VERSION_MAJOR}.${RELEASE_SERVICE
 project(Dolphin VERSION ${RELEASE_SERVICE_VERSION})
 
 set(QT_MIN_VERSION "5.15.0")
-set(KF5_MIN_VERSION "5.87.0")
+set(KF5_MIN_VERSION "5.89.0")
 
 set(CMAKE_CXX_STANDARD 17)
 set(CMAKE_CXX_STANDARD_REQUIRED ON)
@@ -140,6 +140,9 @@ else()
     set(HAVE_TERMINAL TRUE)
 endif()
 
+add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050f00)
+add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x055800)
+
 add_subdirectory(src)
 add_subdirectory(doc)