From 48663205b767f6b02e01fdd5179ed81d449006f1 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sun, 15 Oct 2006 18:31:23 +0000 Subject: [PATCH] - Enabled debug output when Qt 4.2.0 is detected (To avoid this bug in Qt: http://www.trolltech.com/developer/task-tracker/index_html?method=entry&id=133139) --- src/src.pro | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/src.pro b/src/src.pro index 9e1a8c4c4..d14709c2d 100644 --- a/src/src.pro +++ b/src/src.pro @@ -4,7 +4,7 @@ ICONS_PATH = Icons TRAYICON_CPP = trayicon #Set the following variable to 1 to enable debug -DEBUG_MODE = 1 +DEBUG_MODE = 0 # Global TEMPLATE = app @@ -30,7 +30,11 @@ PKGCONFIG += libtorrent QT += xml network contains(DEBUG_MODE, 0){ - DEFINES += QT_NO_DEBUG_OUTPUT + eval(QT_VERSION = 4.2.0) { + message(Qt 4.2.0 detected : enabling debug output because of a bug in this version of Qt) + }else{ + DEFINES += QT_NO_DEBUG_OUTPUT + } CONFIG += release }