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:
parent
5c01cbfe76
commit
9afe954783
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user