summaryrefslogtreecommitdiff
path: root/projects
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2023-09-17 16:27:47 +0200
committerChristoph Cullmann <cullmann@kde.org>2023-09-17 16:27:47 +0200
commit7b405d360f7cd9221e42e73dbdea432fa0ebac2b (patch)
treec5aede5d540600579a53a36f145b4448faa91f7d /projects
parent5515e4f5a521b4ebe704278bec3273c8bd639d72 (diff)
ensure we find the Qt plugins e.g. for icons
Diffstat (limited to 'projects')
-rw-r--r--projects/kde6/shell.nix4
1 files 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 <nixpkgs> {} }:
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