From 6812516c76a0c5f22922bcd2501a78db8d4ee977 Mon Sep 17 00:00:00 2001 From: Pier Luigi Fiorini Date: Sat, 1 Nov 2014 21:10:58 +0100 Subject: [PATCH] Add QT_PLUGIN_PATH --- packaging/plasma-phone-components.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packaging/plasma-phone-components.spec b/packaging/plasma-phone-components.spec index d9d7c4c4..16c899cd 100644 --- a/packaging/plasma-phone-components.spec +++ b/packaging/plasma-phone-components.spec @@ -93,6 +93,12 @@ QT_QPA_PLATFORMTHEME=KDE QT_WAYLAND_DISABLE_WINDOWDECORATION=1 XDG_CURRENT_DESKTOP=KDE KSCREEN_BACKEND=QScreen + +# Not sure about these, but startkde does it +QT_PLUGIN_PATH=${QT_PLUGIN_PATH+$QT_PLUGIN_PATH:}`qtpaths --plugin-dir` +# TODO: Do we really need this? +QT_PLUGIN_PATH=$QT_PLUGIN_PATH:/usr/lib/kde5/plugins/ +export QT_PLUGIN_PATH EOF # Default configuration for the UI