Build Instructions

Warning: Building in debug mode will fail because of a bug in the Digital Mars linker

To build QtD, you need:

  • dmd compiler version >= 2.046
  • Qt SDK which includes Qt 4.6
  • MinGW (you must use the one included in Qt SDK distribution). qt\bin (that contains qmake.exe) and mingw\bin directories need to be in the PATH environment variable.
  • implib tool
  • cmake >= 2.6

Build procedure

hg clone https://bitbucket.org/qtd/repo
cd qtd
mkdir build_dir
cd build_dir

cmake -G"MinGW Makefiles" ../ # You might need to specify »-DCMAKE_CXX_FLAGS="-m32"« as long as DMD is 32bit-only
mingw32-make

Ignore any warnings from the generator.