The current readme lacks a table of contents, which makes finding what you're looking for difficult because of the large amount of images and text. The current documentation on building for windows doesn't mention the fact that package.cmd also has to be run to create a full build. It is also lacking in other areas, such as the packaging programs required. The current documentation doesn't reflect the fact that you can pass command line arguments to the program.
1.3 KiB
Building for Windows
Requirements
For compiling:
- Microsoft Visual Studio (tested on 2017 Community)
- Qt Framework (tested on 5.10 and 5.11)
Additionally, for fully building portable and installer release versions: 3. 7zip Command Line 4. Nullsoft Scriptable Install System (NSIS)
Locations and Environment Variables
Visual Studio must be installed in the default location of C:\Program Files (x86)\Microsoft Visual Studio\2017\Community.
The QT environment variable must be set to the location of your Qt installation (for example C:\Qt\5.11.1\msvc2017_64).
The PLATFORM environment variable must be set to amd64.
For building the portable and installer release versions, the locations of 7zip Command Line (7z.exe) and NSIS (makensis.exe) must be in the PATH environment variable.
Building
With the programs above installed and environment variables set, go into the root folder of the repository and first run build_windows.cmd and then package.cmd. Compiled binaries along with everything needed to run portable will output to .\bin\win64\AdvancedSettings\.