mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-26 03:06:37 +03:00
moved windows path configs from src/src.pro to winconf.pri
This commit is contained in:
parent
c9c2ab320d
commit
fa3e70316e
2 changed files with 19 additions and 15 deletions
26
src/src.pro
26
src/src.pro
|
@ -24,12 +24,9 @@ DEFINES += VERSION_BUGFIX=0
|
|||
DEFINES += VERSION_TYPE=ALPHA
|
||||
|
||||
win32 {
|
||||
# Adapt these paths on Windows
|
||||
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
|
||||
exists(../winconf.pri) {
|
||||
include(../winconf.pri)
|
||||
}
|
||||
|
||||
#DEFINES += _WIN32_WINNT=0x0601
|
||||
#DEFINES += _WIN32_IE=0x0400
|
||||
|
@ -178,18 +175,17 @@ win32 {
|
|||
# LIBS += "/nodefaultlib:"libcmt.lib"
|
||||
#}
|
||||
|
||||
# Adapt these paths on Windows
|
||||
contains(DEBUG_MODE, 1) {
|
||||
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
|
||||
LIBS += libtorrentd.lib \
|
||||
libboost_system-vc90-mt-gd.lib \
|
||||
libboost_filesystem-vc90-mt-gd.lib \
|
||||
libboost_thread-vc90-mt-gd.lib
|
||||
}
|
||||
contains(DEBUG_MODE, 0) {
|
||||
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 += libtorrent.lib \
|
||||
libboost_system-vc90-mt.lib \
|
||||
libboost_filesystem-vc90-mt.lib \
|
||||
libboost_thread-vc90-mt.lib
|
||||
}
|
||||
|
||||
LIBS += advapi32.lib shell32.lib
|
||||
|
|
8
winconf.pri
Normal file
8
winconf.pri
Normal file
|
@ -0,0 +1,8 @@
|
|||
# Adapt these paths on Windows
|
||||
INCLUDEPATH += $$quote($$PWD/boost_1_42_0)
|
||||
INCLUDEPATH += $$quote($$PWD/libtorrent-rasterbar-0.14.10/include)
|
||||
INCLUDEPATH += $$quote($$PWD/libtorrent-rasterbar-0.14.10/zlib)
|
||||
INCLUDEPATH += $$quote(C:/OpenSSL/include)
|
||||
|
||||
LIBS += $$quote(-LC:/OpenSSL/lib/VC)
|
||||
LIBS += $$quote(-L$$PWD/libs)
|
Loading…
Reference in a new issue