Advertisement
Guest User

winconf.pri

a guest
Mar 4th, 2014
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.69 KB | None | 0 0
  1. # Adapt these paths on Windows
  2.  
  3. #Point this to the boost include folder
  4. INCLUDEPATH += $$quote(C:/qBittorrent/boost_1_55_0)
  5. #Point this to the libtorrent include folder
  6. INCLUDEPATH += $$quote(C:/qBittorrent/libtorrent-rasterbar-0.16.15/include)
  7. #Point this to the zlib include folder
  8. INCLUDEPATH += $$quote(C:/qBittorrent/install/include)
  9.  
  10. #Point this to the boost lib folder
  11. LIBS += $$quote(-LC:/qBittorrent/boost_1_55_0/stage/lib)
  12. #Point this to the libtorrent lib folder
  13. LIBS += $$quote(-LC:/qBittorrent/libtorrent-rasterbar-0.16.15/include)
  14. #Point this to the zlib lib folder
  15. LIBS += $$quote(-LC:/qBittorrent/install/lib)
  16.  
  17. # LIBTORRENT DEFINES
  18. DEFINES += BOOST_ALL_NO_LIB
  19. DEFINES += BOOST_ASIO_HASH_MAP_BUCKETS=1021
  20. DEFINES += BOOST_ASIO_SEPARATE_COMPILATION
  21. DEFINES += BOOST_EXCEPTION_DISABLE
  22. DEFINES += BOOST_SYSTEM_STATIC_LINK=1
  23. DEFINES += TORRENT_USE_OPENSSL
  24. DEFINES += UNICODE
  25. DEFINES += _UNICODE
  26. DEFINES += WIN32
  27. DEFINES += _WIN32
  28. DEFINES += WIN32_LEAN_AND_MEAN
  29. DEFINES += _WIN32_WINNT=0x0500
  30. DEFINES += _WIN32_IE=0x0500
  31. DEFINES += _CRT_SECURE_NO_DEPRECATE
  32. DEFINES += _SCL_SECURE_NO_DEPRECATE
  33. DEFINES += __USE_W32_SOCKETS
  34. DEFINES += _FILE_OFFSET_BITS=64
  35. DEFINES += WITH_SHIPPED_GEOIP_H
  36.  
  37. CONFIG(debug, debug|release) {
  38. DEFINES += TORRENT_DEBUG
  39. } else {
  40. DEFINES += NDEBUG
  41. }
  42.  
  43. #Enable backtrace support
  44. win32-msvc* {
  45. CONFIG += strace_win
  46. }
  47.  
  48. strace_win:{
  49. DEFINES += STACKTRACE_WIN
  50. FORMS += stacktrace_win_dlg.ui
  51. HEADERS += stacktrace_win.h \
  52. stacktrace_win_dlg.h
  53. }
  54.  
  55. win32-g++ {
  56. include(winconf-mingw.pri)
  57. }
  58. else {
  59. include(winconf-msvc.pri)
  60. }
  61.  
  62. DEFINES += WITH_GEOIP_EMBEDDED
  63. message("On Windows, GeoIP database must be embedded.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement