Ken Moffat wrote:
I did not keep my "full" qt4 script up to date, assuming that I would
never build it again - on my normal builds I only use it for vlc, so
the webkit shenanigans are not required and it suits me to put it in
/usr.
But now that I am trying to build it with qtwebkit - and doing that
within the same script - I *think* I have found a bug. But qt4 is
so old and has had so much churn in how it is built that I am not
sure. Anyway:
For building in /usr:
In this case, set QT4PREFIX=/usr and add the following to the
configure arguments below: ...
-bindir /usr/bin/qt4
So, qmake will be at /usr/bin/qt4/qmake.
For qtwebkit:
QTDIR=$QT4PREFIX PATH=$PATH:$QT4PREFIX/bin
So $PATH typically started as /bin:/usr/bin and becomes
/bin:/usr/bin:/usr/bin - the redundancy is not a problem, but qmake
cannot be found.
Am I right that this PATH setting is broken for building qt4 in /usr ?
I don't build in /usr so I cannot verify for sure. Note that there is a
'qmake' for both qt4 and qt5, so the first in the path will be used. In
some cases there is an explict qmake-qt4 and qmake-qt5. Then a symlink or
user alias can resolve properly.
In the above case, I suppose that it should be
PATH=$PATH:$QT4PREFIX/bin/qt4
where $QT4PREFIX is /usr. An alternative would be just to use
PATH=$PATH:/usr/bin/qt4
I've already tagged qt4 for 7.9, but feel free to update the note about
installing in /usr.
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page