Skip to content

Instantly share code, notes, and snippets.

@fpersson
Created April 30, 2018 11:08
Show Gist options
  • Save fpersson/7d2813d192c63ee78d4445f35294c456 to your computer and use it in GitHub Desktop.
Save fpersson/7d2813d192c63ee78d4445f35294c456 to your computer and use it in GitHub Desktop.
To build kde-connect on Kubuntu 18.04

To build kde-connect on Kubuntu 18.04:

Install: sudo apt install libkf5kcmutils-dev kdesrc-build libqca-qt5-2-dev

Apply: backport_5.44.patch

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 499f6452..1b893426 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -8,7 +8,7 @@ set(KDECONNECT_VERSION_PATCH 0)
set(KDECONNECT_VERSION "${KDECONNECT_VERSION_MAJOR}.${KDECONNECT_VERSION_MINOR}.${KDECONNECT_VERSION_PATCH}")
set(QT_MIN_VERSION "5.7.0")
-set(KF5_MIN_VERSION "5.45.0")
+set(KF5_MIN_VERSION "5.44.0")
find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR} ${CMAKE_SOURCE_DIR}/cmake)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment