Easier compilation on Win32 using MinGW

This commit is contained in:
Christophe Dumez
2011-03-23 17:06:15 +00:00
parent 8d03b034c2
commit cfd135856b
7 changed files with 70 additions and 19 deletions

18
winconf-mingw.pri Normal file
View File

@@ -0,0 +1,18 @@
RC_FILE = qbittorrent_mingw.rc
#Adapt the lib names/versions accordingly
CONFIG(debug, debug|release) {
LIBS += libtorrent \
libboost_system-mgw45-mt-d-1_46_1 \
libboost_filesystem-mgw45-mt-d-1_46_1 \
libboost_thread-mgw45-mt-d-1_46_1
} else {
LIBS += libtorrent \
libboost_system-mgw45-mt-1_46_1 \
libboost_filesystem-mgw45-mt-1_46_1 \
libboost_thread-mgw45-mt-1_46_1
}
LIBS += libadvapi32 libshell32
LIBS += libcrypto.dll libssl.dll libwsock32 libws2_32 libz libiconv.dll
LIBS += libpowrprof