I'm looking at what is needed for qt4.  It is significantly different
from qt3, but I need if for a work application as well as it being a
prereq for kde4.

The libraries and headers for qt3 and qt4 do not seem to conflict.  Most
things for qt3 starts with qt* and most things for qt4 start with Qt*.
There are some places where there are name conflicts such as qstring.h,
but those are in a different directory structure.  For example:

/opt/qt-3.3.8/include/qstring.h
/opt/qt-4.3.4/include/Qt/qstring.h
/opt/qt-4.3.4/include/QtCore/qstring.h

The last two are both installed as regular files, but are identical.

In any case the build instructions are a bit simplier:

Full:

VERSION=4.3.4

./configure   \
        -prefix /opt/qt-$VERSION \
        -release                 &&
make &&
sudo make install

Time: 27 SBU
Space: 1914 MB !   ( 1.5 GB build, 361 MB install )

Essential:

./configure   \
        -prefix /opt/qt-$VERSION \
        -release                 \
        -nomake examples         \
        -nomake demos            \
        -no-separate-debug-info &&
    make &&
    sudo make install

Time: 13.5 SBU
Space: 608 MB

There does not seem to be a need to use QTDIR, LD_LIBRARY_PATH, or to
modify PATH.  The docs and examples are installed by default in
PREFIX/doc and PREFIX/examples respectively.

I've always put qt into /opt for the flexibility of being able to have
multiple versions and to be able to install a new version from kde
without stepping on the current install like happens if installing with
a /usr prefix.

For BLFS, I'm inclined to use the essential configuration above as the
default with explanations to modify -prefix, -docdir, -demosdir, and
-examplesdir according to the user's preference.

There are no man pages.  The docs are all html.

Thoughts?

  -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to