@afxgroup
You should read the file README.amigaos4 in the base of the trunk.
0) First step is to configure the mkspec properly for cross compiling. Go to trunk/mkspec/amigaosnative-g++/qmake.conf and replace each instance of ppc-amigaos-gcc and ppc-amigaos-c++ with gcc and c++. After building all the command line tools, you will need to switch this back. Also possibly you need to comment out the part on the "DEFINES +=" line that says QT3_SUPPORT.
1) Now to build qmake. There is a makefile ready for use in the qmake directory. Remember to always use gmake in place of make for unix style paths.
2) When qmake is built, you should add the trunk/bin directory to the PATH variable.
3) Next step is to build the other command line tools. Go to trunk/src/tools directory. First you need to build the bootstrap. Go to bootstrap directory and run qmake first, then gmake. After that you should go to moc, rcc and uic directories and run qmake and then gmake for each.
4) Now you are ready to build the libraries and everything else. First go back to mkspecs/amigaosnative-g++/qmake.conf and replace gcc with ppc-amigaos-gcc etc, and also remove the comment in front of QT3_SUPPORT.
5)Start with the corelib in trunk/src/corelib. Go to the directory and run first qmake then gmake.
Build the libraries in following order:
src/corelib
src/gui
src/network
src/opengl
src/sql
src/xml
src/xmlpatterns
src/webkit
etc etc.......
6) You also need to build some plugins for everything to work:
src/plugins/graphicssystems/opengl
src/plugins/imageformats/ (all)
src/plugins/sqldrivers/sqlite
7) ...and you can also build the designer and the assistant in trunk/tools...
Feel free to ask questions if you get stranded!