Subject: Re: bug#72284: kdeconnect-app fails to start

From: Zheng Junjie <[email-masked]>
Date: Thu, 25 Jul 2024 13:06:51 +0800

宋文武 via Bug reports for GNU Guix <[email-masked]> writes:

> Hello, since the update to 24.05.2, 'kdeconnect-app' fails with:
>
> QQmlApplicationEngine failed to load component
> qrc:/qt/qml/org/kde/kdeconnect/app/Main.qml:49:13: Type QQC2.ToolBar unavailable
> qrc:/qt/qml/org/kde/desktop/ToolBar.qml: Type GlobalSonnetSettings unavailable
> qrc:/qt/qml/org/kde/desktop/private/GlobalSonnetSettings.qml:10:1: module "org.kde.sonnet" is not installed

i think this patch can fix it.

From b430840809bfb936ac8c17f7a40da77d7549449c Mon Sep 17 00:00:00 2001
Message-ID: <b43[email-masked]>
From: Zheng Junjie <[email-masked]>
Date: Thu, 25 Jul 2024 12:50:52 +0800
Subject: [PATCH] gnu: kdeconnect: Add sonnet dependency.

* gnu/packages/kde.scm (kdeconnect)[inputs]: Add sonnet.

Change-Id: I494bdf393d433f6f3dffe8dbe1774f53776fbc63
---
 gnu/packages/kde.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index 44b3b10606..59f3b1052b 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -1361,6 +1361,7 @@ (define-public kdeconnect
            qtdeclarative
            qtmultimedia
            qtwayland
+           sonnet
            wayland
            modemmanager-qt
            libxkbcommon))

base-commit: 01ae23649516f9ef0d9e824cf541f380047714e6
prerequisite-patch-id: a703f531933c906dca9ec61a2523da1d4d6da8f5
prerequisite-patch-id: 810b398a80c2051ee1099c2f49f77f058e926694
prerequisite-patch-id: e91a42753210aab3d1c4312d6bc61b673acc6d6a
prerequisite-patch-id: 417266028c7c8be559e885934bdee35f6898c019
-- 
2.45.2