[PATCH] Set default Qt directory in startkde
David Jarvie
djarvie at kde.org
Mon Mar 3 19:46:36 GMT 2008
On Mon 3 March 2008 19:11:24 Thiago Macieira wrote:
> On Monday 03 March 2008 19:37:11 David Jarvie wrote:
> > Here's a patch which follows the above scheme, by giving kde4-config some
> > extra Qt related options. Okay to commit?
>
> No. Almost there. :-)
>
> > Index: kdebase/workspace/startkde.cmake
> > ===================================================================
> > --- kdebase/workspace/startkde.cmake (revision 780962)
> > +++ kdebase/workspace/startkde.cmake (working copy)
> > @@ -36,6 +36,7 @@
> >
> > # in case we have been started with full pathname spec without being in
> > PATH bindir=`echo "$0" | sed -n 's,^\(/.*\)/[^/][^/]*$,\1,p'`
> > +bindir=$bindir:`$bindir/kde4-config --qt-binaries`
> > if [ -n "$bindir" ]; then
> > case $PATH in
> > $bindir|$bindir:*|*:$bindir|*:$bindir:*) ;;
>
> By appending the Qt dir to bindir at that position, you break the test on
> the next line. Append it to PATH at a later point in the startkde script.
Okay. The new patch attached treats the Qt bin directory in the same manner as
the KDE one.
--
David Jarvie.
KAlarm author and maintainer.
http://www.astrojar.org.uk/kalarm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: startkde.diff
Type: text/x-diff
Size: 2613 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080303/0e96f04a/attachment.diff>
More information about the kde-core-devel
mailing list