Browse Source

moved windows path configs from src/src.pro to winconf.pri

adaptive-webui-19844
Ishan Arora 14 years ago
parent
commit
fa3e70316e
  1. 26
      src/src.pro
  2. 8
      winconf.pri

26
src/src.pro

@ -24,12 +24,9 @@ DEFINES += VERSION_BUGFIX=0 @@ -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 { @@ -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

@ -0,0 +1,8 @@ @@ -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…
Cancel
Save