-
-
Notifications
You must be signed in to change notification settings - Fork 93
Building on Windows
Petr Bena edited this page Nov 4, 2015
·
12 revisions
- Download Qt5
- Download NSIS
- Download OpenSSL and Visual C++ Redistributables from https://slproweb.com/products/Win32OpenSSL.html
- Visual Studio redistributables for both x86 and x86_64 from http://www.microsoft.com/en-us/download/details.aspx?id=40784 (if you have visual studio 2013, if not get redistributables for version you are going to use)
- Enable powershell (run
Set-ExecutionPolicy unrestricted
as administrator in power shell)
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
- 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
- Download QT Creator from http://qt-project.org/downloads
- Open huggle.pro and hit build
Note, if there is no huggle.pro you can copy huggle.orig to huggle.pro and then use that instead