This file describes the basic steps required to build the source
package of Qt Jambi

For the purpose of this file, we assume that Qt Jambi is unpacked into
a directory called JAMBI.

If you have problems building, please consult the trouble shooting
section in the Qt Jambi install document
(http://doc.trolltech.com/qtjambi/com/trolltech/qt/qtjambi-installation.html).

------------------------------------------------------------------------
STEP 1: Generate the source code
------------------------------------------------------------------------
 - Go to the JAMBI/generator directory

 - Run qmake and your make tool to compile the generator
   tool. (The generator is significantly faster in release mode).

 - Run the generator:
   > ./generator 		<- on linux and mac
   > release/generator          <- on windows

------------------------------------------------------------------------
STEP 2: Build the C++ libraries and tools
------------------------------------------------------------------------
 - Go to the JAMBI directory

 - Run qmake recursively on the source tree:
   > qmake -r

 - Make the sources

------------------------------------------------------------------------
STEP 3: Generate the Ui_Xxx.java files
------------------------------------------------------------------------
 - Go to the JAMBI directory

 - Run juic recursively in the current directory:
   > bin/juic -cp .

------------------------------------------------------------------------
STEP 4: Compile the java source files
------------------------------------------------------------------------
 - Go to the JAMBI directory

 - Compile all .java files under current directory (listed in
   java_files). Using (javac) this would be:
   > javac @java_files

   On some systems one may be required to compile the sources with the VM
   option -J-mx1024 to prevent the VM to run out of heap space.

------------------------------------------------------------------------
STEP 5: Start coding...
------------------------------------------------------------------------
 - See the README file, under "Manually launching..."  for more
   details about how to run Qt Jambi
