Dieser Fehler ist dokumentiert in:

  http://trolltech.com/developer/task-tracker/index_html?method=entry&id=133796
  http://bugs.debian.org/418832


--- qglobal.h.orig	2007-10-30 12:01:40.000000000 +0100
+++ /usr/include/qt4/QtCore/qglobal.h	2007-10-30 12:07:30.000000000 +0100
@@ -1225,12 +1225,6 @@
 Q_CORE_EXPORT void qErrnoWarning(int code, const char *msg, ...);
 Q_CORE_EXPORT void qErrnoWarning(const char *msg, ...);
 
-#ifdef QT_NO_DEBUG_OUTPUT
-#  define qDebug if(1); else qDebug
-#endif
-#ifdef QT_NO_WARNING_OUTPUT
-#  define qWarning if(1); else qWarning
-#endif
 #if (defined(QT_NO_DEBUG_OUTPUT) || defined(QT_NO_TEXTSTREAM)) && !defined(QT_NO_DEBUG_STREAM)
 #define QT_NO_DEBUG_STREAM
 #endif
@@ -1250,6 +1244,14 @@
 inline QNoDebug qDebug();
 #endif
 
+#define QT_NO_QDEBUG_MACRO if(1); else qDebug
+#ifdef QT_NO_DEBUG_OUTPUT
+#  define qDebug QT_NO_QDEBUG_MACRO
+#endif
+#ifdef QT_NO_WARNING_OUTPUT
+#  define qWarning if(1); else qWarning
+#endif
+
 inline void qt_noop() {}
 
 Q_CORE_EXPORT void qt_assert(const char *assertion, const char *file, int line);
