Auto add $prefix/lib/kde4/plugins to QT_PLUGIN_PATH

svn path=/nixos/trunk/; revision=23872
This commit is contained in:
Yury G. Kudryashov 2010-09-20 14:10:46 +00:00
parent 36fe7f69c6
commit ca4b60d059

View File

@ -35,7 +35,7 @@ for i in $NIX_PROFILES; do # !!! reverse
# KDE/Gnome stuff. # KDE/Gnome stuff.
export KDEDIRS=$i${KDEDIRS:+:}$KDEDIRS export KDEDIRS=$i${KDEDIRS:+:}$KDEDIRS
export QT_PLUGIN_PATH=$i/plugins:$i/lib/qt4/plugins${QT_PLUGIN_PATH:+:}$QT_PLUGIN_PATH export QT_PLUGIN_PATH=$i/lib/qt4/plugins:$i/lib/kde4/plugins${QT_PLUGIN_PATH:+:}$QT_PLUGIN_PATH
export XDG_CONFIG_DIRS=$i/etc/xdg${XDG_CONFIG_DIRS:+:}$XDG_CONFIG_DIRS export XDG_CONFIG_DIRS=$i/etc/xdg${XDG_CONFIG_DIRS:+:}$XDG_CONFIG_DIRS
export XDG_DATA_DIRS=$i/share${XDG_DATA_DIRS:+:}$XDG_DATA_DIRS export XDG_DATA_DIRS=$i/share${XDG_DATA_DIRS:+:}$XDG_DATA_DIRS
done done