WindowsBuild21 » History » Version 9
Building SV v2.1 for Windows¶
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.
Get the right version of Qt¶
This branch needs Qt5 with Qt Creator and MinGW.
Get the right branch¶
Start by checking out the
with-dependencies branch from Mercurial:
$ hg clone -b with-dependencies https://code.soundsoftware.ac.uk/hg/sonic-visualiser
Use the right build configuration¶
Open the main
sonic-visualiser.pro project in Qt5 Creator.
- a release build -- the debug build dependencies are not correctly set at the time of writing
- using g++/MinGW tools -- the MSVC compiler is not supported
- and disable shadow build -- it will only link if built in-place in the source tree
If it builds, you should be able to run it directly from Qt Creator.
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.
Let me know what happens and, if you run into any problems -- send me a fix!