Skip to content

Building on Windows

Petr Bena edited this page Nov 4, 2015 · 12 revisions

Official packaging

Prerequisities

How to

Open huggle3-qt-lx/windows and run release.ps1 it may fail, if it happens it would show a clear error that tells you what is wrong and how to fix it. Follow that.

Once you build x86 version, you can open windows64 folder and run pack.ps1, that would build a setup for 64 bit huggle

Other custom builds

Visual Studio

  • Install cmake
  • Run cmake and configure and generate with -DHUGGLE_EXT=true -DQT5_BUILD=true (file huggle/CMakeLists.txt)
  • Open generated huggle.sln file in Visual Studio
  • Build whole solution

Note: sometimes MOC fails, so you may need to keep restarting build until it finishes, this is a Qt bug

Qt creator

Note, if there is no huggle.pro you can copy huggle.orig to huggle.pro and then use that instead

Clone this wiki locally