[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: [PATCH] Set default Qt directory in startkde
From: "David Jarvie" <djarvie () kde ! org>
Date: 2008-03-03 16:01:23
Message-ID: 1965.134.146.0.41.1204560083.squirrel () www ! sensical ! net
[Download RAW message or body]
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
> fi
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@kde.org>:
>> What I would recommend is simply modifying kde4-config to print the
>> value
>> of
>> QLibraryInfo::location(QLibraryInfo::BinariesPath).
>>
>> Some of the other values may be useful too:
>> http://doc.trolltech.com/4.4beta/qlibraryinfo.html#location
This seems a good way to do it. I'll propose another patch.
--
David Jarvie.
KAlarm author & maintainer.
http://www.astrojar.org.uk/kalarm
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic