2 # Point these to the include folders
3 INCLUDEPATH += $$quote(C:/qBittorrent/boost)
4 INCLUDEPATH += $$quote(C:/qBittorrent/libtorrent/include)
5 INCLUDEPATH += $$quote(C:/qBittorrent/zlib/include)
6 INCLUDEPATH += $$quote(C:/qBittorrent/openssl/include)
7 # Point these to the lib folders
8 LIBS += $$quote(-LC:/qBittorrent/boost/stage/lib)
9 LIBS += $$quote(-LC:/qBittorrent/libtorrent/lib)
10 LIBS += $$quote(-LC:/qBittorrent/zlib/lib)
11 LIBS += $$quote(-LC:/qBittorrent/openssl/lib)
13 # Adapt the lib names/versions accordingly
14 # If you want to use Boost auto-linking then disable
15 # BOOST_ALL_NO_LIB below and omit Boost libraries here
16 CONFIG(debug, debug|release) {
17 LIBS += libtorrentd.lib \
18 libboost_system-vc140-mt-sgd-1_64.lib
21 LIBS += libtorrent.lib \
22 libboost_system-vc140-mt-s-1_64.lib
24 LIBS += libeay32.lib ssleay32.lib
26 # ...or if you use MinGW
27 #CONFIG(debug, debug|release) {
28 # LIBS += libtorrent-rasterbar \
32 # LIBS += libtorrent-rasterbar \
35 #LIBS += libcrypto libssl
38 DEFINES += NTDDI_VERSION=0x05010000
39 DEFINES += _WIN32_WINNT=0x0501
40 DEFINES += _WIN32_IE=0x0501
42 # Disable to use Boost auto-linking
43 DEFINES += BOOST_ALL_NO_LIB
44 # Use one of the following options
45 DEFINES += BOOST_SYSTEM_STATIC_LINK
46 #DEFINES += BOOST_SYSTEM_DYN_LINK
47 # Boost 1.60+ defaults to Vista+ support. The define below enables XP support again.
48 DEFINES += BOOST_USE_WINAPI_VERSION=0x0501
49 # Enable if building against libtorrent 1.0.x (RC_1_0) (static linking)
50 #DEFINES += BOOST_ASIO_SEPARATE_COMPILATION
51 # Enable if building against libtorrent 1.0.x (RC_1_0) (dynamic linking)
52 #DEFINES += BOOST_ASIO_DYN_LINK
54 # Enable if building against libtorrent 1.1.x (RC_1_1)
55 # built with this flag defined
56 #DEFINES += TORRENT_NO_DEPRECATE
57 # Enable if linking dynamically against libtorrent
58 #DEFINES += TORRENT_LINKING_SHARED
60 # Enable stack trace support