Fix export of QDeferredDeleteEvent, should be Q_CORE_EXPORT

When QDeferredDeleteEvent was declared in qcoreevent.h, it
had Q_CORE_EXPORT. After moving to qcoreevent_p.h, it changed
to Q_AUTOTEST_EXPORT. The correct macro should be preserved.
Noticed that this change was needed to make GammaRay work
with Qt 6.7

Pick-to: 6.7
Change-Id: I6fab494d9f60b1261edce6f326a3b96467ff7da1
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Matt Aber 2024-01-17 13:12:06 -05:00
parent 0d923c2097
commit bc3b18764a

View File

@ -21,7 +21,8 @@ QT_BEGIN_NAMESPACE
class QCoreApplication;
class Q_AUTOTEST_EXPORT QDeferredDeleteEvent : public QEvent
// GammaRay needs this to be exported with Q_CORE_EXPORT
class Q_CORE_EXPORT QDeferredDeleteEvent : public QEvent
{
Q_DECL_EVENT_COMMON(QDeferredDeleteEvent)
public: