diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h index bdf484d245..9ae45ec8ab 100644 --- a/src/corelib/global/qglobal.h +++ b/src/corelib/global/qglobal.h @@ -109,14 +109,6 @@ private: #endif // Q_OS_DARWIN -/* - Debugging and error handling -*/ - -#if !defined(QT_NO_DEBUG) && !defined(QT_DEBUG) -# define QT_DEBUG -#endif - #if 0 #pragma qt_class(QFunctionPointer) #endif diff --git a/src/corelib/global/qtconfigmacros.h b/src/corelib/global/qtconfigmacros.h index 3765a75dde..0ff6e2955a 100644 --- a/src/corelib/global/qtconfigmacros.h +++ b/src/corelib/global/qtconfigmacros.h @@ -69,6 +69,14 @@ # define QT_MOC_COMPAT #endif +/* + Debugging and error handling +*/ + +#if !defined(QT_NO_DEBUG) && !defined(QT_DEBUG) +# define QT_DEBUG +#endif + // valid for both C and C++ #define QT_MANGLE_NAMESPACE0(x) x #define QT_MANGLE_NAMESPACE1(a, b) a##_##b