[PATCH] Set default Qt directory in startkde
djarvie at kde.org
Mon Mar 3 16:01:23 GMT 2008
On Monday 3 March 2008 14:56, Percy Camilo Triveño Aucahuasi wrote:
> I always had solved this issue adding this lines on the startkde script:
> export KDEDIR=$HOME/kde
> export QTDIR=$HOME/qt-copy
> export QT_PLUGIN_PATH=$KDEDIR/lib/kde4/plugins:$QT_PLUGIN_PATH
> export PATH=$KDEDIR/bin:$QTDIR/bin:/usr/local/bin:$PATH
> if [[ $LD_LIBRARY_PATH = "" ]]
> then export LD_LIBRARY_PATH=$KDEDIR/lib:$QTDIR/lib
> else export LD_LIBRARY_PATH=$KDEDIR/lib:$QTDIR/lib:$LD_LIBRARY_PATH
I have used similar stuff in the past, but the problem with this approach
is that it uses hard-coded paths for KDE and Qt. If I copied your script
onto my system without modification, it wouldn't work.
> 2008/3/3, Thiago Macieira <thiago at kde.org>:
>> What I would recommend is simply modifying kde4-config to print the
>> Some of the other values may be useful too:
This seems a good way to do it. I'll propose another patch.
KAlarm author & maintainer.
More information about the kde-core-devel