On Sat, Oct 21, 2006 at 04:42:31PM +0200, Lars Gullik Bjønnes wrote:
> Martin Vermeer <[EMAIL PROTECTED]> writes:
>
> | On Sat, Oct 21, 2006 at 04:04:31PM +0200, Michael Gerz wrote:
> | > Martin Vermeer wrote:
> | >
> | > >I don't know... 34 minutes and counting.
> | > >
> | > >I may well have mixed up qt4 and qt3... I have both installed. Shouldn't
> | > >that be legal? I installed using yum and got no complaints.
> | > >
> | > >
> | > Yes, it is perfectly legal. I have qt3 and qt4 on the same machine, too.
> | >
> | > Could you please install qt4 in a local directory (outside /usr/...),
> | > put its ./bin directory in the path, and run my little test?
> | >
> | > Michael
> |
> | Unnecessary, I found the reason. The script /usr/bin/uic-qt4 reads
> |
> | ----
> | #!/bin/sh
> |
> | if [ -z "$QT4DIR" ] ; then
> | QT4DIR="`/usr/bin/pkg-config --variable=prefix QtCore 2>/dev/null ||
> | /bin/rpm
> | --eval "%{_libdir}/qt4"`"
> | export QT4DIR
> | fi
> |
> | if ! echo ${PATH} | /bin/grep -q $QT4DIR/bin ; then
> | PATH=${QT4DIR}/bin:${PATH}
> | export PATH
> | fi
> |
> | exec $QT4DIR/bin/`basename $0` ${1+"$@"}
> | ----
> |
> | I had QT4DIR=/usr/, which got configure to find Qt4. This makes the
> | script call itself in the last line -- not even recursively, see the
> | exec. It's more like in Sysiphus mode :-)
> |
> | The above script *presupposes that QT4DIR is undefined*!!! Then it
> | defines a new one, /usr/lib/qt4/bin/, where the real binary version of
> | uic-qt4 can be found...
> |
> | In my opinion a bug, at least a usability one.
>
> No not really... QT or Trolltech has never said that QT4DIR should be
> used for anything. That is something we invented in LyX. If if
> anything it is our bug.It's in the script. Didn't the Trolls write that? Part of the qt4-devel RPM. - Martin
pgp6DyaKmfInS.pgp
Description: PGP signature
