How to build - necto/denfer GitHub Wiki

Build in our project is performed using Qt qmake utility. Configuration is done through project .pro files, and basing on them qmake creates regular makefiles or Visual Studio projects.

More info on qmake is available here.

Linux

From root project directory run:

  • To create makefiles
qmake denfer.pro * To clean make clean * To build make * Rebuild after significant change (new/deleted files, modification in *.pro files). (The sequence is important!) :
make clean
find . -name Makefile | xargs rm
qmake
make

Windows

Reference compiler for Windows is MS VC++ 10, so in order to build our project you should download Windows 7 SDK, or use MS Visual Studio 2010.

Using Visual Studio

To perform build using Visual Studio you must first create/update .vproj files: qmake -r -tp vc denfer.pro

After it you will see denfer.sln solution file in root directory. Than build is done through regular VS process.

Using Qt Creator IDE

Just open denfer.pro file and run build.

From command line:

  1. Add C:\Qt\qtcreator-2.7.0\bin(or whatever dir with jom.exe you have) to your system PATH env variable

  2. Run Visual Studio Command Prompt

  3. cd to denfer dir

  4. qmake.exe denfer.pro -r -spec win32-msvc2010

  5. jom.exe clean

  6. jom.exe

⚠️ **GitHub.com Fallback** ⚠️