-
-
Notifications
You must be signed in to change notification settings - Fork 366
Windows build HOWTO
Get latest Qt prebuilt for MinGW32 here:
http://releases.qt-project.org/qt4/source/
and install them in C:\Qt
Download MinGW installer here:
http://sourceforge.net/projects/mingw/files/Installer/mingw-get-inst/
and install both MinGW and MSYS in the default path proposed by the installer.
Download pkg-config prebuilt binaries and install them in the MinGW tree
http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/
I used this: http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/pkg-config_0.26-1_win32.zip
Download glib devel libraries needed by pkg-config: http://ftp.gnome.org/pub/gnome/binaries/win32/glib/
I used this: http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.24/glib_2.24.0-2_win32.zip
Download from this URL: http://lrn.no-ip.info/other/mingw/mingw32/
the -ming32-dev version of the following packages and extract them in the MinGW tree:
- libmad
- libsndfile
- flac
- libogg
- libvorbis
To compile the Enttec DMXUSB Output plugin on Windows, you need to:
Download the latest SDK from FTDI Driver page.
Install the package contents for example to C:\CDM20802
Edit /plugins/enttecdmxusb/src/src.pro to point to that directory:
FTD2XXDIR = C:\CDM20802
If you don't need the Enttec DMXUSB plugin and would like to disable building it completely, edit /plugins/plugins.pro and put a hash (#) on the line that says SUBDIRS += enttecdmxusb:
#SUBDIRS += enttecdmxusb
To compile the Velleman Output plugin on Windows, you need to:
Download the modified Velleman SDK
Unpack the zip to C:\K8062D
Not applicable yet: If you don't need the Velleman Output plugin and would like to disable building it completely, edit /plugins/plugins.pro and put a hash (#) on the line that says SUBDIRS += velleman:
#SUBDIRS += velleman
Note: if you don't need the OSC support just comment SUBDIRS += osc
in plugins/plugins.pro and skip this section.
Download the latest SVN snapshot of liblo from here: http://sourceforge.net/projects/liblo/
Compile libLO by doing:
./autogen.sh
./configure --enable-static --disable-shared --prefix=/mingw
make
make install
Now you need to manually patch libLO pkg-config file to avoid build issues. Edit the file liblo.pc that you can find in your MinGW installation path /lib/pkgconfig folder. (usually C:\MinGW\lib\pkgconfig)
Change the line starting with "Libs:" into:
Libs: -L${libdir} -llo -lpthread -lws2_32 -liphlpapi
Now compile QLC+ (I use Windows PowerShell to do so):
qmake
make
make install
Now to launch QLC+ the dependency libraries are needed as DLLs files.
Download from this URL: http://lrn.no-ip.info/other/mingw/mingw32/
the -mingw32-dll version of the following packages and copy them in the main QLC+ folder:
- libFLAC-8.dll (optional - see Audio support)
- libmad-0.dll (optional - see Audio support)
- libogg-0.dll (optional - see Audio support)
- libsndfile-1.dll (optional - see Audio support)
- libstdc++-6.dll (optional for OSC support)
- libvorbis-0.dll (optional - see Audio support)
- libvorbisenc-2.dll (optional - see Audio support)
- pthreadGC2.dll (optional for OSC support)
Most likely the plugins folder will contain ".a" binaries. Rename them to ".dll" to let QLC+ load them.