WindowsBuild21 » History » Version 9
Chris Cannam, 2013-03-28 04:29 PM
1 | 1 | Chris Cannam | h1. Building SV v2.1 for Windows |
---|---|---|---|
2 | 1 | Chris Cannam | |
3 | 4 | Chris Cannam | It should now be possible to build Sonic Visualiser on Windows using the Qt Creator IDE. A special branch of the SV code is available which includes all the dependency libraries pre-built for your compiling and linking pleasure. |
4 | 1 | Chris Cannam | |
5 | 9 | Chris Cannam | h2. Get the right version of Qt |
6 | 9 | Chris Cannam | |
7 | 9 | Chris Cannam | This branch needs "Qt5":http://qt-project.org/downloads with Qt Creator and MinGW. |
8 | 9 | Chris Cannam | |
9 | 4 | Chris Cannam | h2. Get the right branch |
10 | 4 | Chris Cannam | |
11 | 4 | Chris Cannam | Start by checking out the @with-dependencies@ branch from Mercurial: |
12 | 4 | Chris Cannam | |
13 | 4 | Chris Cannam | @$ hg clone -b with-dependencies https://code.soundsoftware.ac.uk/hg/sonic-visualiser@ |
14 | 4 | Chris Cannam | |
15 | 4 | Chris Cannam | h2. Use the right build configuration |
16 | 4 | Chris Cannam | |
17 | 4 | Chris Cannam | Open the main @sonic-visualiser.pro@ project in Qt5 Creator. |
18 | 4 | Chris Cannam | |
19 | 5 | Chris Cannam | Configure for |
20 | 5 | Chris Cannam | |
21 | 6 | Chris Cannam | * a *release build* -- the debug build dependencies are not correctly set at the time of writing |
22 | 6 | Chris Cannam | * using *g++/MinGW tools* -- the MSVC compiler is not supported |
23 | 5 | Chris Cannam | * and *disable shadow build* -- it will only link if built in-place in the source tree |
24 | 7 | Chris Cannam | |
25 | 7 | Chris Cannam | h2. Then build |
26 | 9 | Chris Cannam | |
27 | 9 | Chris Cannam | If it builds, you should be able to run it directly from Qt Creator. |
28 | 9 | Chris Cannam | |
29 | 9 | Chris Cannam | If you want to run outside of Creator, note that the binary will depend on a lot of DLLs that come shipped with Qt5 (you can find them in the Qt5 bin folder). Making a WiX installer builder is on my TODO list but I haven't done it yet. |
30 | 7 | Chris Cannam | |
31 | 8 | Chris Cannam | Let me know what happens and, if you run into any problems -- send me a fix! |