Windows compilation fixes

This commit is contained in:
Christophe Dumez
2010-07-16 15:42:32 +00:00
parent 0c40a8ab05
commit c8b8518608
2 changed files with 30 additions and 24 deletions

View File

@@ -3,7 +3,7 @@ LANG_PATH = lang
ICONS_PATH = Icons
# Set the following variable to 1 to enable debug
DEBUG_MODE = 0
DEBUG_MODE = 1
# Global
TEMPLATE = app
@@ -22,9 +22,9 @@ DEFINES += VERSION_BUGFIX=0
win32 {
# Adapt these paths on Windows
INCLUDEPATH += $$quote(C:/qbittorrent/msvc/boost_1_42_0)
INCLUDEPATH += $$quote(C:/qbittorrent/msvc/libtorrent-rasterbar-0.14.10/include)
INCLUDEPATH += $$quote(C:/qbittorrent/msvc/libtorrent-rasterbar-0.14.10/zlib)
INCLUDEPATH += $$quote(C:/qbittorrent/boost_1_42_0)
INCLUDEPATH += $$quote(C:/qbittorrent/libtorrent-rasterbar-0.14.10/include)
INCLUDEPATH += $$quote(C:/qbittorrent/libtorrent-rasterbar-0.14.10/zlib)
LIBS += -LC:/OpenSSL/lib/VC
@@ -174,16 +174,16 @@ win32 {
# Adapt these paths on Windows
contains(DEBUG_MODE, 1) {
LIBS += C:/qbittorrent/msvc/libs/libtorrentd.lib \
C:/qbittorrent/msvc/libs/libboost_system-vc90-mt-gd.lib \
C:/qbittorrent/msvc/libs/libboost_filesystem-vc90-mt-gd.lib \
C:/qbittorrent/msvc/libs/libboost_thread-vc90-mt-gd.lib
LIBS += C:/qbittorrent/libs/libtorrentd.lib \
C:/qbittorrent/libs/libboost_system-vc90-mt-gd.lib \
C:/qbittorrent/libs/libboost_filesystem-vc90-mt-gd.lib \
C:/qbittorrent/libs/libboost_thread-vc90-mt-gd.lib
}
contains(DEBUG_MODE, 0) {
LIBS += C:/qbittorrent/msvc/libs/libtorrent.lib \
C:/qbittorrent/msvc/libs/libboost_system-vc90-mt.lib \
C:/qbittorrent/msvc/libs/libboost_filesystem-vc90-mt.lib \
C:/qbittorrent/msvc/libs/libboost_thread-vc90-mt.lib
LIBS += C:/qbittorrent/libs/libtorrent.lib \
C:/qbittorrent/libs/libboost_system-vc90-mt.lib \
C:/qbittorrent/libs/libboost_filesystem-vc90-mt.lib \
C:/qbittorrent/libs/libboost_thread-vc90-mt.lib
}
LIBS += advapi32.lib shell32.lib