summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2007-09-02 18:59:38 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2007-09-02 18:59:38 +0000
commitc5550c96746130a6e2834e8213c3f7c8d21d275c (patch)
tree82a65b4bc8b72e953e8b85390bdf9dd49afdcf9b
parent9dbcc3839203b35f35fe904a4622442f49af747d (diff)
downloadrockbox-c5550c96746130a6e2834e8213c3f7c8d21d275c.tar.gz
rockbox-c5550c96746130a6e2834e8213c3f7c8d21d275c.zip
Normal build defaults to release. Disable debug output for that case. To create a debug build (with debug output enabled) use "qmake -config debug".
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14584 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--rbutil/rbutilqt/rbutilqt.pro13
1 files changed, 10 insertions, 3 deletions
diff --git a/rbutil/rbutilqt/rbutilqt.pro b/rbutil/rbutilqt/rbutilqt.pro
index ed37f671a6..813299e75e 100644
--- a/rbutil/rbutilqt/rbutilqt.pro
+++ b/rbutil/rbutilqt/rbutilqt.pro
@@ -75,10 +75,17 @@ HEADERS += rbutilqt.h \
INCLUDEPATH = . irivertools zip zlib ../ipodpatcher ../sansapatcher
TEMPLATE = app
-CONFIG += release \
- warn_on \
- thread \
+CONFIG += thread \
qt
+!debug {
+ CONFIG += release
+ DEFINES += QT_NO_DEBUG_OUTPUT
+}
+debug {
+ CONFIG += debug \
+ warn_on
+}
+
TARGET = rbutilqt
FORMS += rbutilqtfrm.ui \