Project

General

Profile

Build Quassel on Windows Mingw » History » Version 17

« Previous - Version 17/47 (diff) - Next » - Current version
TheOneRing, 02/06/2010 11:22 AM


Build Quassel on Windows Mingw

You have two possibilitys to build Quassel with Mingw

  1. Build Quassel with QT only
  2. Build Quassel with Windows KDE

Build Quassel with QT only

Software Requirements

Installation

Step 1: Install QT SDK

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

Step 2: Install MinGW Utils

Download MinGW Utils and extrect them to 'mingw'\

Step 3: Install DBGHELP SDK

Download and install DBGHELP

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 to 'mingw"\include

Step 5: Install CMake

Checkout Quassel Mingw branch

  • "git clone git://gitorious.org/quassel/quassel.git"
  • "cd quassel"
  • "git remote add -f theonering git://gitorious.org/~theonering/quassel/theonerings-quassel.git"
  • "git checkout theonering/mingw"

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"

Build Quassel with Windows KDE

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

The steps above would also be possible with msvc2008