From b254eff6959ea4a41c5df55bc4c2f5461ded2c15 Mon Sep 17 00:00:00 2001 From: Alexey Edelev Date: Mon, 3 Oct 2022 20:24:43 +0200 Subject: [PATCH] Skip qtconfigmacros.h processing by syncqt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Task-number: QTBUG-87480 Change-Id: I9c54ca30f693adda90e08e354127b0e9ea38651e Reviewed-by: Tor Arne Vestbø Reviewed-by: Qt CI Bot --- src/corelib/global/qtconfigmacros.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/corelib/global/qtconfigmacros.h b/src/corelib/global/qtconfigmacros.h index 51f6e651bc..7d42b13c54 100644 --- a/src/corelib/global/qtconfigmacros.h +++ b/src/corelib/global/qtconfigmacros.h @@ -4,6 +4,9 @@ #ifndef QTCONFIGMACROS_H #define QTCONFIGMACROS_H +#if 0 +# pragma qt_sync_stop_processing +#endif #ifdef QT_BOOTSTRAPPED // qconfig-bootstrapped.h is not supposed to be a part of the synced header files. So we find it by // the include path specified for Bootstrap library in the source tree instead of the build tree as @@ -154,8 +157,4 @@ namespace QT_NAMESPACE {} # define QT_END_MOC_NAMESPACE #endif -/* silence syncqt warning */ -QT_BEGIN_NAMESPACE -QT_END_NAMESPACE - #endif /* QTCONFIGMACROS_H */