MinGW/Qt (Windows)

Installing MinGW GCC/GNU make/GDB

At http://www.mingw.org/download.shtml you will find all required packages as well as short install instructions. Alternatively, you can have the Qt installer download and install MinGW for you (see below). The minimum files you need to download and install in order to be able to build and debug Calitko are:

You might want to grab the newer versions of these files. Feel free to do it!

Installing is very easy actually - just unpack all tarballs to e.g. C:\MinGW . GDB has an installer, so make sure you specify this same path when asked. It is a good idea to add C:\MinGW\bin to your PATH. You would need to do this if you want to use Eclipse for example.

Installing Qt4 with MinGW binaries

The latest version of Qt/Windows (OpenSource) can be downloaded from http://www.trolltech.com/developer/downloads/qt/windows. Chose a mirror to download the file qt-win-opensource-4.x.x-mingw.exe. It contains the complete source code of Qt plus precompiled release libraries.

The installer will give you the option to specify the path to your existing MinGW installation, or it could download and install MinGW for you!

If you want to use a normal command prompt, or an IDE like Eclipse, than you should make sure all environment variables are correctly set. You are already done if you checked the "Set environment variables" checkbox in Qt installer. If not, you would need e.g. C:\MinGW\bin and C:\Qt\4.x.x\bin in your PATH. Additionally, QTDIR needs to be set to e.g. C:\Qt\4.x.x and QMAKESPEC should be set to win32-g++ .

After the installation is completed, you MUST build the debug libraries if you want to be able to build a debug version of Calitko. Click Start -> Programs -> Qt by Trolltech 4.x.x (OpenSource) -> Qt 4.x.x (Build Debug Libraries). This will take a while!

Now you are ready to build Calitko!