WindowsBuild21 » History » Version 9
Version 8 (Chris Cannam, 2013-03-28 03:41 PM) → Version 9/11 (Chris Cannam, 2013-03-28 04:29 PM)
h1. 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.
h2. Get the right version of Qt
This branch needs "Qt5":http://qt-project.org/downloads with Qt Creator and MinGW.
h2. 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@
h2. Use the right build configuration
Open the main @sonic-visualiser.pro@ project in Qt5 Creator.
Configure for
* 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
h2. Then build
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!
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.
h2. Get the right version of Qt
This branch needs "Qt5":http://qt-project.org/downloads with Qt Creator and MinGW.
h2. 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@
h2. Use the right build configuration
Open the main @sonic-visualiser.pro@ project in Qt5 Creator.
Configure for
* 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
h2. Then build
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!