diff options
author | Alexey Edelev <alexey.edelev@qt.io> | 2022-06-10 17:50:41 +0200 |
---|---|---|
committer | Alexey Edelev <alexey.edelev@qt.io> | 2022-06-22 03:03:31 +0200 |
commit | 36ea34c7140a134b05d4cc8fcb5e17802ef77755 (patch) | |
tree | 33e25f599ea7b476dbd63eade57a4ff99cb3f899 /src/corelib/plugin | |
parent | 5fce82bc6cb1e118fb26cf9b61f2c07c007ec8b9 (diff) |
Add the qt_class pragma to file listed in sync.profile classnames map
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 <joerg.bornemann@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/plugin')
-rw-r--r-- | src/corelib/plugin/qplugin.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/corelib/plugin/qplugin.h b/src/corelib/plugin/qplugin.h index 5ac3ed9241..61dff6ab53 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 <QtCore/qobject.h> #include <QtCore/qpointer.h> #include <QtCore/qjsonobject.h> |