From 3cd5f3a1c69953f677eaa0107476977aae65c929 Mon Sep 17 00:00:00 2001 From: Heiko Becker Date: Thu, 20 Nov 2025 18:13:00 +0100 Subject: [PATCH] Drop unused dependencies Both KF6Crash and KF6IconThemes aren't used anymore after porting to KirigamiApp in eab45e761a4580ff1f09d96c8abcc6abfd98efda. (cherry picked from commit 0cb3fd32f4a49591810f7bc0d35adb6fadeb8011) --- .kde-ci.yml | 2 -- CMakeLists.txt | 4 ++-- src/app/CMakeLists.txt | 5 ----- src/app/main.cpp | 1 - 4 files changed, 2 insertions(+), 10 deletions(-) diff --git a/.kde-ci.yml b/.kde-ci.yml index ba61592a8..9f425547b 100644 --- a/.kde-ci.yml +++ b/.kde-ci.yml @@ -14,7 +14,6 @@ Dependencies: 'frameworks/kquickcharts': '@latest-kf6' 'frameworks/knotifications': '@latest-kf6' 'frameworks/kcolorscheme': '@latest-kf6' - 'frameworks/kiconthemes': '@latest-kf6' 'libraries/kquickimageeditor': '@latest-kf6' 'frameworks/sonnet': '@latest-kf6' 'frameworks/prison': '@latest-kf6' @@ -29,7 +28,6 @@ Dependencies: 'frameworks/kio': '@latest-kf6' 'frameworks/kwindowsystem': '@latest-kf6' 'frameworks/kstatusnotifieritem': '@latest-kf6' - 'frameworks/kcrash': '@latest-kf6' - 'on': ['Linux', 'FreeBSD'] 'require': 'frameworks/kdbusaddons': '@latest-kf6' diff --git a/CMakeLists.txt b/CMakeLists.txt index b7e3265a2..73ed9461b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -69,7 +69,7 @@ if (QT_KNOWN_POLICY_QTP0004) qt_policy(SET QTP0004 NEW) endif () -find_package(KF6 ${KF_MIN_VERSION} COMPONENTS Kirigami I18n Notifications Config CoreAddons Sonnet ItemModels IconThemes ColorScheme) +find_package(KF6 ${KF_MIN_VERSION} COMPONENTS Kirigami I18n Notifications Config CoreAddons Sonnet ItemModels ColorScheme) set_package_properties(KF6 PROPERTIES TYPE REQUIRED PURPOSE "Basic application components" @@ -92,7 +92,7 @@ if(ANDROID) ) else() find_package(Qt6 ${QT_MIN_VERSION} COMPONENTS Widgets) - find_package(KF6 ${KF_MIN_VERSION} REQUIRED COMPONENTS QQC2DesktopStyle KIO WindowSystem StatusNotifierItem Crash) + find_package(KF6 ${KF_MIN_VERSION} REQUIRED COMPONENTS QQC2DesktopStyle KIO WindowSystem StatusNotifierItem) find_package(KF6SyntaxHighlighting ${KF_MIN_VERSION} REQUIRED) set_package_properties(KF6QQC2DesktopStyle PROPERTIES TYPE RUNTIME diff --git a/src/app/CMakeLists.txt b/src/app/CMakeLists.txt index c711c6e3a..8b5ffa512 100644 --- a/src/app/CMakeLists.txt +++ b/src/app/CMakeLists.txt @@ -203,7 +203,6 @@ target_link_libraries(neochat PUBLIC KF6::ConfigGui KF6::CoreAddons KF6::SonnetCore - KF6::IconThemes KF6::ItemModels KF6::I18nQml KirigamiApp @@ -214,10 +213,6 @@ target_link_libraries(neochat PUBLIC Spaces ) -if (TARGET KF6::Crash) - target_link_libraries(neochat PUBLIC KF6::Crash) -endif() - kconfig_target_kcfg_file(neochat FILE neochatconfig.kcfg CLASS_NAME NeoChatConfig MUTATORS GENERATE_PROPERTIES DEFAULT_VALUE_GETTERS PARENT_IN_CONSTRUCTOR SINGLETON GENERATE_MOC QML_REGISTRATION) if(NEOCHAT_FLATPAK) diff --git a/src/app/main.cpp b/src/app/main.cpp index ae71dd366..7ff3fab06 100644 --- a/src/app/main.cpp +++ b/src/app/main.cpp @@ -33,7 +33,6 @@ #include #endif -#include #include #include #include