mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-02 09:55:55 +00:00
moved windows path configs from src/src.pro to winconf.pri
This commit is contained in:
parent
c9c2ab320d
commit
fa3e70316e
26
src/src.pro
26
src/src.pro
@ -24,12 +24,9 @@ DEFINES += VERSION_BUGFIX=0
|
|||||||
DEFINES += VERSION_TYPE=ALPHA
|
DEFINES += VERSION_TYPE=ALPHA
|
||||||
|
|
||||||
win32 {
|
win32 {
|
||||||
# Adapt these paths on Windows
|
exists(../winconf.pri) {
|
||||||
INCLUDEPATH += $$quote(C:/qbittorrent/boost_1_42_0)
|
include(../winconf.pri)
|
||||||
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
|
|
||||||
|
|
||||||
#DEFINES += _WIN32_WINNT=0x0601
|
#DEFINES += _WIN32_WINNT=0x0601
|
||||||
#DEFINES += _WIN32_IE=0x0400
|
#DEFINES += _WIN32_IE=0x0400
|
||||||
@ -178,18 +175,17 @@ win32 {
|
|||||||
# LIBS += "/nodefaultlib:"libcmt.lib"
|
# LIBS += "/nodefaultlib:"libcmt.lib"
|
||||||
#}
|
#}
|
||||||
|
|
||||||
# Adapt these paths on Windows
|
|
||||||
contains(DEBUG_MODE, 1) {
|
contains(DEBUG_MODE, 1) {
|
||||||
LIBS += C:/qbittorrent/libs/libtorrentd.lib \
|
LIBS += libtorrentd.lib \
|
||||||
C:/qbittorrent/libs/libboost_system-vc90-mt-gd.lib \
|
libboost_system-vc90-mt-gd.lib \
|
||||||
C:/qbittorrent/libs/libboost_filesystem-vc90-mt-gd.lib \
|
libboost_filesystem-vc90-mt-gd.lib \
|
||||||
C:/qbittorrent/libs/libboost_thread-vc90-mt-gd.lib
|
libboost_thread-vc90-mt-gd.lib
|
||||||
}
|
}
|
||||||
contains(DEBUG_MODE, 0) {
|
contains(DEBUG_MODE, 0) {
|
||||||
LIBS += C:/qbittorrent/libs/libtorrent.lib \
|
LIBS += libtorrent.lib \
|
||||||
C:/qbittorrent/libs/libboost_system-vc90-mt.lib \
|
libboost_system-vc90-mt.lib \
|
||||||
C:/qbittorrent/libs/libboost_filesystem-vc90-mt.lib \
|
libboost_filesystem-vc90-mt.lib \
|
||||||
C:/qbittorrent/libs/libboost_thread-vc90-mt.lib
|
libboost_thread-vc90-mt.lib
|
||||||
}
|
}
|
||||||
|
|
||||||
LIBS += advapi32.lib shell32.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…
x
Reference in New Issue
Block a user