Browse Source

Fix compilation in release mode

adaptive-webui-19844
Christophe Dumez 14 years ago
parent
commit
7a7d351017
  1. 2
      src/src.pro
  2. 4
      winconf.pri

2
src/src.pro

@ -40,7 +40,7 @@ CONFIG(debug, debug|release):message(Project is built in DEBUG mode.)
CONFIG(release, debug|release):message(Project is built in RELEASE mode.) CONFIG(release, debug|release):message(Project is built in RELEASE mode.)
# Disable debug output in release mode # Disable debug output in release mode
!debug { CONFIG(release, debug|release) {
message(Disabling debug output.) message(Disabling debug output.)
DEFINES += QT_NO_DEBUG_OUTPUT DEFINES += QT_NO_DEBUG_OUTPUT
} }

4
winconf.pri

@ -27,7 +27,7 @@ DEFINES += _WIN32_WINNT=0x0500
DEFINES += __USE_W32_SOCKETS DEFINES += __USE_W32_SOCKETS
DEFINES += WITH_SHIPPED_GEOIP_H DEFINES += WITH_SHIPPED_GEOIP_H
debug { CONFIG(debug, debug|release) {
DEFINES += TORRENT_DEBUG DEFINES += TORRENT_DEBUG
} else { } else {
DEFINES += NDEBUG DEFINES += NDEBUG
@ -35,7 +35,7 @@ debug {
RC_FILE = qbittorrent.rc RC_FILE = qbittorrent.rc
debug { CONFIG(debug, debug|release) {
LIBS += libtorrentd.lib \ LIBS += libtorrentd.lib \
libboost_system-vc90-mt-gd.lib \ libboost_system-vc90-mt-gd.lib \
libboost_filesystem-vc90-mt-gd.lib \ libboost_filesystem-vc90-mt-gd.lib \

Loading…
Cancel
Save