From 7a7d35101720beb5d3162248c1dcc2bafccd15d2 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sat, 1 Jan 2011 22:26:17 +0000 Subject: [PATCH] Fix compilation in release mode --- src/src.pro | 2 +- winconf.pri | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/src.pro b/src/src.pro index d44ddf020..72ea00840 100644 --- a/src/src.pro +++ b/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.) # Disable debug output in release mode -!debug { +CONFIG(release, debug|release) { message(Disabling debug output.) DEFINES += QT_NO_DEBUG_OUTPUT } diff --git a/winconf.pri b/winconf.pri index 546b1a1e9..af58f5b19 100644 --- a/winconf.pri +++ b/winconf.pri @@ -27,7 +27,7 @@ DEFINES += _WIN32_WINNT=0x0500 DEFINES += __USE_W32_SOCKETS DEFINES += WITH_SHIPPED_GEOIP_H -debug { +CONFIG(debug, debug|release) { DEFINES += TORRENT_DEBUG } else { DEFINES += NDEBUG @@ -35,7 +35,7 @@ debug { RC_FILE = qbittorrent.rc -debug { +CONFIG(debug, debug|release) { LIBS += libtorrentd.lib \ libboost_system-vc90-mt-gd.lib \ libboost_filesystem-vc90-mt-gd.lib \