Build Quassel on Windows Mingw » History » Version 17

Version 16 (TheOneRing, 02/03/2010 10:59 AM) → Version 17/47 (TheOneRing, 02/06/2010 11:22 AM)

h1. Build Quassel on Windows Mingw

h2. You have two possibilitys to build Quassel with Mingw

# Build Quassel with QT only
# Build Quassel with Windows KDE

h2. Build Quassel with QT only

h2. Software Requirements

* "QT SDK":
* "CMake":
* "MinGW Utils 0.3":

h2. Installation

h3. Step 1: Install QT SDK

Download and install the QT SDK and select mingw to install with QT.

h3. Step 2: Install MinGW Utils

Download MinGW Utils and extrect them to 'mingw'\

h3. Step 3: Install DBGHELP SDK

Download and install DBGHELP

h3. Step 4: Generate the dbghelp.dll.a for mingw

* Open a command line
* add your mingw installation to %PATH% (set PATH=%PATH%;mingwdir)
* move to 'dbghelp'\sdk\lib\i386
* type "reimp -d dbghelp.lib"
* type "dlltool -k -d dbghelp.def -l dbghelp.dll.a"
* copy 'dbghelp'\sdk\lib\i386\dbghelp.dll.a to 'mingw'\lib
* copy 'dbghelp'\sdk\inc\dbghelp.h 'dbghelp'\sdk\inc\i386\dbghelp.h to 'mingw"\include

h3. Step 5: Install CMake

h2. Checkout Quassel Mingw branch

* "git clone git://"
* "cd quassel"
* "git remote add -f theonering git://"
* "git checkout theonering/mingw"

h2. Compile Quassel

* open a command line
* add mingw to your path (set PATH=%PATH%;'mingwdir')
* add cmake to your path (analog to mingw)
* add QT to yo your path, 'qt\version'\qt\bin
* switch to the directory where you checked out Quassel
* type "mkdir build"
* type "cd build"
* type "cmake -G "MinGW Makefiles" .."
* type "mingw32-make"

h2. Build Quassel with Windows KDE

# got to the "Emerge Tutorial":
# check out emerge and set up the kdesettings.bat acording to the kde tutorial
# install mingw4 "emerge mingw4"
# follow steps 3 and 4 from "Build Quassel with QT only"
# copy 'dbghelp'\sdk\lib\i386 to your 'kderoot'/lib
# copy 'dbghelp'\sdk\inc\i386 to your 'kderoot'/include
# install quassel "emerge quassel" emerge will install all dependency's for you
# when emerge has finished all jobs, start quassel

The steps above would also be possible with msvc2008