Replace Q_DECLARE_METATYPE with QT_DECL_METATYPE_EXTERN
This reduces compilation time by avoiding repeated metatype
instantiations.
Can't backport to Qt 6.3 or 6.2 because this change introduces new
exported symbols.
Pick-to: 6.4
Fixes: QTBUG-102219
Change-Id: Ice0f606bdcfa283b8eb89c57c4b06650d3f88928
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
| commit | 46da276d48bd79b1f84459addbcb334bc661c6a0 |
| parent | 15a853b5447446cbbe18933932dd9228237dcc74 |
| author | Sona Kurazyan <sona.kurazyan@qt.io> |
| committer | Sona Kurazyan <sona.kurazyan@qt.io> |
| commit time | Thu, 9 Jun 2022 18:01:51 +0200 |
- M src/remoteobjects/qremoteobjectabstractitemmodelreplica.cpp
- M src/remoteobjects/qremoteobjectabstractitemmodeltypes_p.h
- M src/remoteobjects/qremoteobjectpacket.cpp
- M src/remoteobjects/qremoteobjectpacket_p.h
- M src/remoteobjects/qremoteobjectpendingcall.cpp
- M src/remoteobjects/qremoteobjectpendingcall.h
- M src/remoteobjects/qtremoteobjectglobal.cpp
- M src/remoteobjects/qtremoteobjectglobal.h