Skip to content

Windows build

Eric Gregory edited this page Jun 15, 2015 · 3 revisions

Fang is built in the build folder, and winds up in build/release/deploy

Run vsvars32.bat x86 to setup the Visual Studio environment

Delete any existing artifacts:

if exist Fang.exe del Fang.exe
if exist deploy rmdir deploy /s /q

QMake:

qmake -spec win32-msvc2013 -tp vc -r -config release ..

Build from the file build/Fang.vcxproj

At this point there should be a binary at: build/release/Fang.exe

Create a deploy folder, copy Fang.exe into and run Qt's deployment script:

mkdir deploy
copy Fang.exe deploy
windeployqt --qmldir ../../qml deploy

Finally, create the MSI installer with WiX by running the winDeploy batch file from the build/release folder:

..\..\winDeploy.bat

Clone this wiki locally