1 # Adapt these paths on Windows
3 # Point this to the boost include folder
4 INCLUDEPATH += $$quote(C:/qBittorrent/boost_1_51_0)
5 # Point this to the libtorrent include folder
6 INCLUDEPATH += $$quote(C:/qBittorrent/RC_0_16/include)
7 # Point this to the zlib include folder
8 INCLUDEPATH += $$quote(C:/qBittorrent/Zlib/include)
9 # Point this to the openssl include folder
10 INCLUDEPATH += $$quote(C:/qBittorrent/openssl/include)
12 # Point this to the boost lib folder
13 LIBS += $$quote(-LC:/qBittorrent/boost_1_51_0/stage/lib)
14 # Point this to the libtorrent lib folder
15 LIBS += $$quote(-LC:/qBittorrent/RC_0_16/bin/path-according-to-the-build-options-chosen)
16 # Point this to the zlib lib folder
17 LIBS += $$quote(-LC:/qBittorrent/Zlib/lib)
18 # Point this to the openssl lib folder
19 LIBS += $$quote(-LC:/qBittorrent/openssl/lib)
22 DEFINES += BOOST_ALL_NO_LIB
23 DEFINES += BOOST_ASIO_HASH_MAP_BUCKETS=1021
24 DEFINES += BOOST_ASIO_SEPARATE_COMPILATION
25 # After 1.55 some Windows users reported regular UI freezes.
26 # This makes ASIO use the pre-1.56 way of doing things. See issue #2003
27 DEFINES += BOOST_ASIO_DISABLE_CONNECTEX
28 # Boost 1.60+ defaults to Vista+ support. The define below enables XP support again.
29 DEFINES += BOOST_USE_WINAPI_VERSION=0x0501
30 DEFINES += BOOST_EXCEPTION_DISABLE
31 DEFINES += BOOST_SYSTEM_STATIC_LINK=1
32 DEFINES += TORRENT_USE_OPENSSL
33 DEFINES += TORRENT_DISABLE_GEO_IP
34 DEFINES += TORRENT_DISABLE_RESOLVE_COUNTRIES
39 DEFINES += WIN32_LEAN_AND_MEAN
40 DEFINES += _WIN32_WINNT=0x0501
41 DEFINES += _WIN32_IE=0x0501
42 DEFINES += _CRT_SECURE_NO_DEPRECATE
43 DEFINES += _SCL_SECURE_NO_DEPRECATE
44 DEFINES += __USE_W32_SOCKETS
45 DEFINES += _FILE_OFFSET_BITS=64
47 CONFIG(debug, debug|release) {
48 DEFINES += TORRENT_DEBUG
53 # Enable backtrace support
57 include(winconf-mingw.pri)
60 include(winconf-msvc.pri)