[education/rkward] /: Fix compilation (I wonder, why this didn't fail, before)

Thomas Friedrichsmeier null at kde.org
Sat May 25 23:01:38 BST 2024


Git commit 2ed848399df7db8f9b86c53efd1e31a7604fdf7e by Thomas Friedrichsmeier.
Committed on 25/05/2024 at 22:01.
Pushed by tfry into branch 'master'.

Fix compilation (I wonder, why this didn't fail, before)

M  +1    -1    CMakeLists.txt
M  +1    -1    rkward/misc/CMakeLists.txt

https://invent.kde.org/education/rkward/-/commit/2ed848399df7db8f9b86c53efd1e31a7604fdf7e

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1a69ba296..c1d84bdce 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -22,7 +22,7 @@ INCLUDE(ECMAddAppIcon)
 INCLUDE(ECMMarkNonGuiExecutable)
 INCLUDE(FeatureSummary)
 
-FIND_PACKAGE(Qt6 6.6 CONFIG REQUIRED COMPONENTS Widgets Core Xml Network Qml PrintSupport WebEngineWidgets Core5Compat) # TODO: remove compat
+FIND_PACKAGE(Qt6 6.6 CONFIG REQUIRED COMPONENTS Widgets Core Xml Network Qml PrintSupport WebEngineWidgets Core5Compat DBus) # TODO: remove compat
 FIND_PACKAGE(KF6 6.0.0 REQUIRED COMPONENTS CoreAddons DocTools I18n XmlGui TextEditor WidgetsAddons Parts Config Notifications WindowSystem Archive OPTIONAL_COMPONENTS Crash)
 FIND_PACKAGE(Gettext REQUIRED)
 
diff --git a/rkward/misc/CMakeLists.txt b/rkward/misc/CMakeLists.txt
index 4fa80d9dc..5a30a8e0c 100644
--- a/rkward/misc/CMakeLists.txt
+++ b/rkward/misc/CMakeLists.txt
@@ -37,4 +37,4 @@ SET(misc_STAT_SRCS
    )
 
 ADD_LIBRARY(misc STATIC ${misc_STAT_SRCS})
-TARGET_LINK_LIBRARIES(misc Qt6::Widgets KF6::WidgetsAddons KF6::KIOWidgets Qt6::Xml KF6::ConfigCore KF6::Parts KF6::WindowSystem KF6::TextEditor KF6::Archive KF6::I18n)
+TARGET_LINK_LIBRARIES(misc Qt6::Widgets KF6::WidgetsAddons KF6::KIOWidgets Qt6::Xml Qt6::DBus KF6::ConfigCore KF6::Parts KF6::WindowSystem KF6::TextEditor KF6::Archive KF6::I18n)



More information about the rkward-tracker mailing list