[PATCH] Set default Qt directory in startkde
Thiago Macieira
thiago at kde.org
Mon Mar 3 19:11:24 GMT 2008
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.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080303/67809389/attachment.sig>
More information about the kde-core-devel
mailing list