To configure this copy of Qt 3.0.4 snapshot, type some variation of:

export QTDIR=$PWD
export YACC='byacc -d'
make -f Makefile.cvs
./configure -system-zlib -qt-gif -system-libpng -system-libjpeg \
  -plugin-imgfmt-mng -thread -no-stl 
make symlinks sub-src sub-tools

This will give you the minimal version of Qt that is required for KDE. If
you need the STL bindings or Xinerama support, then please omit the
appropiate options.

On Systems using GNU C++ please use -no-g++-exceptions as well. It will
greatly help to reduce the memory consumption!

The recommended compile line is:

./configure -system-zlib -qt-gif -system-libpng -system-libjpeg \
  -plugin-imgfmt-mng -thread -no-stl -no-g++-exceptions -debug

It adds "-debug" as well, which greatly improves the use for backtraces (but
also needs a lot more disk space and makes things slower).

If you wish to save some time and skip the examples and tutorials you can
use

    make symlinks sub-src sub-tools

This will only build the moc compiler and Qt library. You can always build
the examples and tutorials later by just re-running make by itself (without
target).

If you want to compile Qt with objprelink under linux, add 

  -platform linux-g++-objprelink

to the configure options. You'll need the objprelink binary for this to
work.


Please be aware of the fact that you need the original BSD version of yacc.
The GNU bison which claims to be yacc compatible will not work with C++
reliably. Often,

	export YACC='byacc -d'

helps the bash shell user

or  setenv YACC 'byacc -d'

fixes the problem for csh user.

Please remember that there might be some older Qt header files in your
$KDEDIR/include. Remove them before you try to recompile KDE.


Hint for people debugging Qt, being sick of waiting for the linker: In the
toplevel directory there's a file called .qmake.cache . Add the line
"QMAKE_INCREMENTAL = qfoo* qbar*" to the end of the file and run make. Then
qmake creates one big library which contains all the other classes and as
soon as you touch qfoo* or qbar* it only links these classes against the big
library.

Due to that nice trick linking time goes down to about 0,5 seconds. Note:
This feature is experimental and it's said to work on Linux only. You've
been warned.


TROUBLESHOOTING THE RE-CONFIGURATION & RE-COMPILING PROCESS

For those updating the source in a directory where Qt has already
been compiled, you may need to run the following commands from the
top directory of your Qt sources:

	find . -name '*.moc' | xargs rm

Sometimes ./configure will refuse to run.  You may need to:
	rm .qmake.cache


-----------------------------------------------------------------------------
Differences to the Qt 3.0.4:

- additional linux-g++-objprelink platform
- additional freebsd-g++-objprelink platform

src/kernel/qapplication_x11.cpp: Fixes for NetAccess focus problem.
src/widgets/qmenudata.cpp: Fixed insertTitle() functionality in KPopupMenu
src/widgets/qtextedit.cpp: Fix for broken PlainText mode
src/widgets/qtoolbar.cpp: Fix for ">>" inappropriately showing in toolbars

For a complete list see
http://lists.kde.org/?l=kde-cvs&w=2&r=1&s=qt-copy&q=b
