Subject: [bug#75534] [PATCH 35/35] gnu: lxqt: Add native-search-paths for QT_PLUGIN_PATH.

From: [email-masked]
Date: Mon, 13 Jan 2025 17:36:07 +0800

From: 宋文武 <[email-masked]>

* gnu/packages/lxqt.scm (lxqt)[native-search-paths]: Add QT_PLUGIN_PATH.

Change-Id: Ifcb37f735b9f65a39b47735a9b80e81b08b85315
---
 gnu/packages/lxqt.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/lxqt.scm b/gnu/packages/lxqt.scm
index b9bf1da5c7..45db8bdc6e 100644
--- a/gnu/packages/lxqt.scm
+++ b/gnu/packages/lxqt.scm
@@ -1088,6 +1088,11 @@ (define-public lxqt
            pavucontrol-qt
            qps
            qterminal))
+    (native-search-paths
+     (list (search-path-specification
+            ;; For finding qtsvg, lxqt-qtplugin, etc.
+            (variable "QT_PLUGIN_PATH")
+            (files '("lib/qt6/plugins")))))
     (synopsis "The Lightweight Qt Desktop Environment")
     (description "LXQt is a lightweight Qt desktop environment.")
     (home-page "https://lxqt-project.org")
-- 
2.47.1