-
-
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
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+:
qmake
make
make install