WindowsBuild30 » History » Version 4

Chris Cannam, 2017-01-09 11:12 AM

1 1 Chris Cannam
h1. Building SV v3.0 installers on Windows
2 1 Chris Cannam
3 1 Chris Cannam
Version 3.0 of Sonic Visualiser now has a 64-bit version for Windows. The 32-bit version is also still supported.
4 1 Chris Cannam
5 2 Chris Cannam
 * The *64-bit version* is built using Qt Creator with the *Microsoft Visual C++ compiler*. Install 64-bit Microsoft Visual Studio 2015 Community Edition and Qt 5.7 (or latest 5.x).
6 1 Chris Cannam
7 2 Chris Cannam
 * The *32-bit version* is built using Qt Creator with the *MinGW compiler*. Install Qt 5.7 (or latest 5.x) with Qt Creator and ensure that the 32-bit MinGW option is available.
8 2 Chris Cannam
9 2 Chris Cannam
 * The official 64-bit installer also includes some helper binaries from the 32-bit build, enabling it to use 32-bit Vamp plugins as well as 64-bit ones. So to make a 64-bit installer, we actually have to complete both builds.
10 2 Chris Cannam
11 3 Chris Cannam
In both cases the dependent libraries we use are found in the @sv-dependency-builds@ subrepo which is now checked out as a matter of course with the SV repo. There should be no other external dependencies besides Qt and the runtime libraries it needs.
12 3 Chris Cannam
13 3 Chris Cannam
h2. Which SV branch to use
14 3 Chris Cannam
15 3 Chris Cannam
Currently 3.0 release preparation is happening in the @3.0-integration@ branch, but when 3.0 is actually released, it will be merged to the @default@ branch.
16 3 Chris Cannam
17 2 Chris Cannam
h2. 32-bit build and installer
18 2 Chris Cannam
19 4 Chris Cannam
h4. Build
20 4 Chris Cannam
21 4 Chris Cannam
This process is similar to that introduced in v2.1 (see [[here|WindowsBuild21]]), except that we now *do* use a shadow build.
22 4 Chris Cannam
23 4 Chris Cannam
 * Check out the correct branch (@3.0-integration@ or @default@ as described above)
24 4 Chris Cannam
 * Open the main @sonic-visualiser.pro@ project in Qt Creator
25 4 Chris Cannam
 * Set up a @release build@ using @Desktop Qt 5.7.0 MinGW 32-bit@ as a @shadow build@
26 4 Chris Cannam
27 4 Chris Cannam
h4. Installer
28 4 Chris Cannam
29 4 Chris Cannam
h2. 64-bit build and installer
30 4 Chris Cannam
31 4 Chris Cannam
h4. Build
32 4 Chris Cannam
33 4 Chris Cannam
 * Check out the correct branch (@3.0-integration@ or @default@ as described above)
34 4 Chris Cannam
 * Open the main @sonic-visualiser.pro@ project in Qt Creator
35 4 Chris Cannam
 * Set up a @release build@ using @Desktop Qt 5.7.0 MSVC 64-bit@ as a @shadow build@
36 4 Chris Cannam
37 4 Chris Cannam
h4. Installer
38 4 Chris Cannam
39 4 Chris Cannam
The 64-bit installer needs files from both the 64- and 32-bit builds.