Move definition of QT_DEBUG from qglobal.h to qtconfigmacros.h

Task-number: QTBUG-99313
Change-Id: I0bb9bcabbfff5b6d97a6473dbbcd47eb46d1fd3d
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
This commit is contained in:
Sona Kurazyan 2022-08-22 16:56:46 +02:00
parent 5c01cbfe76
commit 9afe954783
2 changed files with 8 additions and 8 deletions

View File

@ -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

View File

@ -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