Skip to content

Building on Windows

Mishka edited this page Jul 2, 2018 · 2 revisions

Building on Windows

Install Qt

Download online or offline Qt installer from Qt download page. Version 5.9.x is recomennded for stable(0.5.x) branch. Also, if you are not familiar with VS, install MinGW(possible highest version) using same installer. And don't forget Qt Creator ;)

Install CMake

Download CMake from CMake official site, install it and add to Qt Creator(Parameters -> Build & Run -> CMake)

Configure Qt Creator

Check available kits and compilers.

Getting the source code

Clone with git recursively git clone --recursive https://github.com/MishkaRogachev/JAGCS.git or just update submodules manualy running git submodule init and git submodule update.

Build sources

Open root CMakeList.txt file as project in Qt Creator, run cmake and build th project. It's easy. Before deployment, use release build type running cmake .. -DCMAKE_BUILD_TYPE=Result

Deployment

Use windeployqt to collect all dynamic libraries. In command promt from Qt binary directory(usualy <complier>\bin) run windeployqt.exe --release --qmldir <path to JAGCS>\sources\presentation\qml <path to JAGCS>\result