mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-01 05:08:05 -06:00
Windows compilation fixes
This commit is contained in:
24
src/src.pro
24
src/src.pro
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user