diff --git a/src/concurrent/qtconcurrentfilter.h b/src/concurrent/qtconcurrentfilter.h index e35c445b947..0f014713d99 100644 --- a/src/concurrent/qtconcurrentfilter.h +++ b/src/concurrent/qtconcurrentfilter.h @@ -4,6 +4,10 @@ #ifndef QTCONCURRENT_FILTER_H #define QTCONCURRENT_FILTER_H +#if 0 +#pragma qt_class(QtConcurrentFilter) +#endif + #include #if !defined(QT_NO_CONCURRENT) || defined(Q_CLANG_QDOC) diff --git a/src/concurrent/qtconcurrentmap.h b/src/concurrent/qtconcurrentmap.h index 2d829daca4e..ffdc4c90048 100644 --- a/src/concurrent/qtconcurrentmap.h +++ b/src/concurrent/qtconcurrentmap.h @@ -4,6 +4,10 @@ #ifndef QTCONCURRENT_MAP_H #define QTCONCURRENT_MAP_H +#if 0 +#pragma qt_class(QtConcurrentMap) +#endif + #include #if !defined(QT_NO_CONCURRENT) || defined(Q_CLANG_QDOC) diff --git a/src/concurrent/qtconcurrentrun.h b/src/concurrent/qtconcurrentrun.h index fdcebe0bdec..e5c7503b68e 100644 --- a/src/concurrent/qtconcurrentrun.h +++ b/src/concurrent/qtconcurrentrun.h @@ -4,6 +4,10 @@ #ifndef QTCONCURRENT_RUN_H #define QTCONCURRENT_RUN_H +#if 0 +#pragma qt_class(QtConcurrentRun) +#endif + #include #if !defined(QT_NO_CONCURRENT) || defined(Q_CLANG_QDOC) diff --git a/src/corelib/global/qendian.h b/src/corelib/global/qendian.h index 98fab8f05bb..2289717b7f9 100644 --- a/src/corelib/global/qendian.h +++ b/src/corelib/global/qendian.h @@ -5,6 +5,10 @@ #ifndef QENDIAN_H #define QENDIAN_H +#if 0 +#pragma qt_class(QtEndian) +#endif + #include #include diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h index 4b85b4af7d3..559dab889f5 100644 --- a/src/corelib/global/qglobal.h +++ b/src/corelib/global/qglobal.h @@ -5,6 +5,11 @@ #ifndef QGLOBAL_H #define QGLOBAL_H +#if 0 +#pragma qt_class(QtGlobal) +#pragma qt_class(QIntegerForSize) +#endif + #ifdef __cplusplus # include # include diff --git a/src/corelib/global/qnamespace.h b/src/corelib/global/qnamespace.h index 5ec3b4a4f32..dd70e91a8f3 100644 --- a/src/corelib/global/qnamespace.h +++ b/src/corelib/global/qnamespace.h @@ -5,6 +5,10 @@ #ifndef QNAMESPACE_H #define QNAMESPACE_H +#if 0 +#pragma qt_class(Qt) +#endif + #include #include diff --git a/src/corelib/global/qnumeric.h b/src/corelib/global/qnumeric.h index d3a74a33e57..b10936b38fc 100644 --- a/src/corelib/global/qnumeric.h +++ b/src/corelib/global/qnumeric.h @@ -4,6 +4,10 @@ #ifndef QNUMERIC_H #define QNUMERIC_H +#if 0 +#pragma qt_class(QtNumeric) +#endif + #include #include #include diff --git a/src/corelib/io/qdebug.h b/src/corelib/io/qdebug.h index 6ba464840f4..b1f425e616e 100644 --- a/src/corelib/io/qdebug.h +++ b/src/corelib/io/qdebug.h @@ -5,6 +5,10 @@ #ifndef QDEBUG_H #define QDEBUG_H +#if 0 +#pragma qt_class(QtDebug) +#endif + #include #include #include diff --git a/src/corelib/plugin/qplugin.h b/src/corelib/plugin/qplugin.h index 5ac3ed92414..61dff6ab53e 100644 --- a/src/corelib/plugin/qplugin.h +++ b/src/corelib/plugin/qplugin.h @@ -5,6 +5,10 @@ #ifndef QPLUGIN_H #define QPLUGIN_H +#if 0 +#pragma qt_class(QtPlugin) +#endif + #include #include #include diff --git a/src/corelib/text/qutf8stringview.h b/src/corelib/text/qutf8stringview.h index 2dbd9bb2175..232b6f43f77 100644 --- a/src/corelib/text/qutf8stringview.h +++ b/src/corelib/text/qutf8stringview.h @@ -3,6 +3,10 @@ #ifndef QUTF8STRINGVIEW_H #define QUTF8STRINGVIEW_H +#if 0 +#pragma qt_class(QUtf8StringView) +#endif + #include #include #include // for QContainerImplHelper diff --git a/src/corelib/tools/qalgorithms.h b/src/corelib/tools/qalgorithms.h index f72cd669cb0..94aa2da012e 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 c5e1ba2b628..1f0d36428ab 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 diff --git a/src/gui/kernel/qevent.h b/src/gui/kernel/qevent.h index 0cd58fa91f3..983cc6a9da2 100644 --- a/src/gui/kernel/qevent.h +++ b/src/gui/kernel/qevent.h @@ -4,6 +4,10 @@ #ifndef QEVENT_H #define QEVENT_H +#if 0 +#pragma qt_class(QtEvents) +#endif + #include #include diff --git a/src/network/ssl/qpassworddigestor.h b/src/network/ssl/qpassworddigestor.h index b7d7d98aaac..279450178b3 100644 --- a/src/network/ssl/qpassworddigestor.h +++ b/src/network/ssl/qpassworddigestor.h @@ -4,6 +4,10 @@ #ifndef QPASSWORDDIGESTOR_H #define QPASSWORDDIGESTOR_H +#if 0 +#pragma qt_class(QPasswordDigestor) +#endif + #include #include #include diff --git a/src/network/ssl/qssl.h b/src/network/ssl/qssl.h index f29f769a4a5..3d01168172f 100644 --- a/src/network/ssl/qssl.h +++ b/src/network/ssl/qssl.h @@ -5,6 +5,10 @@ #ifndef QSSL_H #define QSSL_H +#if 0 +#pragma qt_class(QSsl) +#endif + #include #include diff --git a/src/sql/kernel/qtsqlglobal.h b/src/sql/kernel/qtsqlglobal.h index c92c4c7730a..977d97abbf6 100644 --- a/src/sql/kernel/qtsqlglobal.h +++ b/src/sql/kernel/qtsqlglobal.h @@ -4,6 +4,10 @@ #ifndef QTSQLGLOBAL_H #define QTSQLGLOBAL_H +#if 0 +#pragma qt_class(QSql) +#endif + #include #include #include diff --git a/src/testlib/qtest.h b/src/testlib/qtest.h index e185e81eb8f..f4f0ff5dfd3 100644 --- a/src/testlib/qtest.h +++ b/src/testlib/qtest.h @@ -5,6 +5,10 @@ #ifndef QTEST_H #define QTEST_H +#if 0 +#pragma qt_class(QTest) +#endif + #include #include #include