From 7b405d360f7cd9221e42e73dbdea432fa0ebac2b Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Sun, 17 Sep 2023 16:27:47 +0200 Subject: [PATCH] ensure we find the Qt plugins e.g. for icons --- projects/kde6/shell.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/kde6/shell.nix b/projects/kde6/shell.nix index ad557aa..33159f5 100644 --- a/projects/kde6/shell.nix +++ b/projects/kde6/shell.nix @@ -1,14 +1,14 @@ { pkgs ? import {} }: pkgs.mkShell { - # ensure this KDE things are in path + # ensure the local KDE things are in path shellHook = '' export PATH=/home/cullmann/projects/kde6/usr/bin:/home/cullmann/projects/kde6:/home/cullmann/projects/kde6/src/kdesrc-build:$PATH # LD_LIBRARY_PATH only needed if you are building without rpath # export LD_LIBRARY_PATH=/home/cullmann/projects/kde6/usr/lib:$LD_LIBRARY_PATH -export QT_PLUGIN_PATH=/home/cullmann/projects/kde6/usr/lib/plugins:$QT_PLUGIN_PATH +export QT_PLUGIN_PATH=/home/cullmann/projects/kde6/usr/lib/plugins:${pkgs.qt6.qtbase.qtPluginPrefix}:${pkgs.lib.getBin pkgs.qt6.qtsvg}/${pkgs.qt6.qtbase.qtPluginPrefix}:$QT_PLUGIN_PATH export QML2_IMPORT_PATH=/home/cullmann/projects/kde6/usr/lib/qml:$QML2_IMPORT_PATH export QT_QUICK_CONTROLS_STYLE_PATH=/home/cullmann/projects/kde6/usr/lib/qml/QtQuick/Controls.2/:$QT_QUICK_CONTROLS_STYLE_PATH