From 36ea34c7140a134b05d4cc8fcb5e17802ef77755 Mon Sep 17 00:00:00 2001 From: Alexey Edelev Date: Fri, 10 Jun 2022 17:50:41 +0200 Subject: Add the qt_class pragma to file listed in sync.profile classnames map MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This makes header files self-contained and reduces the number of 'sources of truth' for syncqt procedure. Change-Id: I7f5865abc69934603139d23e1b5452da46ccb110 Reviewed-by: Jörg Bornemann Reviewed-by: Thiago Macieira --- src/corelib/tools/qalgorithms.h | 4 ++++ src/corelib/tools/qcontainerfwd.h | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'src/corelib/tools') diff --git a/src/corelib/tools/qalgorithms.h b/src/corelib/tools/qalgorithms.h index f72cd669cb..94aa2da012 100644 --- a/src/corelib/tools/qalgorithms.h +++ b/src/corelib/tools/qalgorithms.h @@ -4,6 +4,10 @@ #ifndef QALGORITHMS_H #define QALGORITHMS_H +#if 0 +#pragma qt_class(QtAlgorithms) +#endif + #include #if __has_include() && __cplusplus > 201703L diff --git a/src/corelib/tools/qcontainerfwd.h b/src/corelib/tools/qcontainerfwd.h index c5e1ba2b62..1f0d36428a 100644 --- a/src/corelib/tools/qcontainerfwd.h +++ b/src/corelib/tools/qcontainerfwd.h @@ -6,6 +6,10 @@ #ifndef QCONTAINERFWD_H #define QCONTAINERFWD_H +#if 0 +#pragma qt_class(QtContainerFwd) +#endif + // std headers can unfortunately not be forward declared #include -- cgit v1.2.3