From 84c6795fd677431530a53c92f3f63e14d9cf23e3 Mon Sep 17 00:00:00 2001 From: Marco Allegretti Date: Mon, 23 Mar 2026 10:20:21 +0100 Subject: [PATCH] Ensure MauiKit4plugin builds with alakarte; fix app icon resource path --- src/CMakeLists.txt | 2 ++ src/qml/Main.qml | 7 ++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 02965ab..c5c45de 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -183,6 +183,8 @@ ecm_add_qml_module(alakarte URI org.kde.alakarte config.h ) +add_dependencies(alakarte MauiKit4plugin) + install(TARGETS alakarte ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) install(FILES org.kde.alakarte.notifyrc diff --git a/src/qml/Main.qml b/src/qml/Main.qml index c262852..14ff37d 100644 --- a/src/qml/Main.qml +++ b/src/qml/Main.qml @@ -102,11 +102,12 @@ Maui.ApplicationWindow { anchors.leftMargin: 20 anchors.rightMargin: 12 - Maui.Icon { - source: ":/icons/app/org.kde.alakarte.svg" + Image { + source: "qrc:/icons/sc-apps-org.kde.alakarte.svg" Layout.preferredWidth: 28 Layout.preferredHeight: 28 - color: "transparent" + fillMode: Image.PreserveAspectFit + smooth: true } Item { Layout.preferredWidth: 8 }