d88d9d1
## http://kde.ground.cz/tiki-index.php?page=Environment+Variables
d88d9d1
## for possible entries here
d88d9d1
21ebce8
## Make sure KDEDIRS is set
21ebce8
if ( ! $?KDEDIRS ) setenv KDEDIRS /usr
21ebce8
a7e893c
## When/if using prelinking, avoids use of kdeinit
21ebce8
if ( -f /etc/sysconfig/prelink ) then
21ebce8
   set PRELINKING = `grep "^PRELINKING=" /etc/sysconfig/prelink | cut -d"=" -f2`
21ebce8
   if ( "$PRELINKING" == "yes" )  then
21ebce8
     if ( ! $?KDE_IS_PRELINKED ) setenv KDE_IS_PRELINKED 1
21ebce8
   endif
5acbb2c
   unset PRELINKING
21ebce8
endif
3969fb9
5acbb2c
# handled in startkde, but this sets for other DE's too
5acbb2c
set KDE4_QTPLUGINS=`kde4-config --path qtplugins`
5acbb2c
if ( $?QT_PLUGIN_PATH ) then
5acbb2c
  if ( "$QT_PLUGIN_PATH" !~ *"${KDE4_QTPLUGINS}"* ) then
5acbb2c
    setenv QT_PLUGIN_PATH ${QT_PLUGIN_PATH}:${KDE4_QTPLUGINS}
5acbb2c
  endif 
5acbb2c
else
5acbb2c
  setenv QT_PLUGIN_PATH ${KDE4_QTPLUGINS} 
a7e893c
endif
5acbb2c
unset KDE4_QTPLUGINS