Instructions to compile Flukz.

------------------- Linux platform ---------------------------

You need to install the packages of Qt4 development library.
At least version 4.6 of the library is needed.
The packages are directly available in all Linux distributions.
For example, on Debian/Ubuntu, you can install Qt library with:
apt-get install libqt4-dev

(You also need the packages "g++" and "make")

Open a comand terminal
Go to the directory with the flukz.pro file (with the command cd)
Execute the following commands:
(1) qmake
(2) make

The program can be launched with bin\flukz

To compile in debug mode, execute the following commands :
(1) qmake CONFIG+=debug
(2) make

The program can be launched with bin\flukz_debug

-------------- Qt 4.7.x on Debian and Ubuntu platforms -----------

On Debian/Ubuntu platforms, since Qt 4.7.x QtMultimedia
is not included in the main qt package. You need to install it with:
apt-get install qtmobility-dev

However, the links in the Makefile created by the qmake command are broken,
and you need to add some library links.
We provide a little bash script to patch the Makefile.
The compiling process is:
qmake
bash debianpatch
make

We hope that it works in most cases. If not, have a look at the debianpatch file,
and try to adapt it to your environment (change the name and path of QtMultimedia).

---------- Other possible problems under Linux environment -------------------

(1) Under some Desktop (LXDE or Xfce) the following error can occur when launching Flukz :
"QGtkStyle was unable to detect the current GTK+ theme."
In that case, you need to install the libgnomeui package.
Under Lubuntu : apt-get install libgnomeui-0

(2) If pulse audio is not installed, the following error can occur when launching Flukz :
"Unable to create a connection to the pulseaudio context."
In that case, you need to install the pulse audio package
Under Lubuntu : apt-get install pulseaudio

-------------------------- Windows platform ---------------------------------

You need to install the Qt4 library (version 4.6 or later, with mingw).
As of november 2012, it is available here: http://qt-project.org/downloads

After installation, open the "Qt command prompt"
Go to the directory with the flukz.pro file (with the command cd)
Execute the following commands:
(1) qmake
(2) mingw32-make

The program can be launched with release\bin\flukz

To compile in debug mode, execute the following commands :
(1) qmake CONFIG+=debug
(2) make

The program can be launched with debug\bin\flukz_debug

------------------- Use with Qt Creator (any platform) ------------

You can also compile the program with Qt Creator.
Open the flukz.pro file with Qt Creator.
Qt Creator will prompt the "Project Setup" dialog.
Select "Create build configuration for each Qt version"
