tst_Q(Gui)EventLoop: Unbreak UBSan build

The tests peek into QEventLoopPrivate, which means that a UBSan build
needs access to QEventLoopPrivate's type_info, for which we need to
export the class.

Amends 3af20bd8eb8c75017c5d6d138d7c42914ee5bee3, which fixed the weak
vtable that, presumably, made this test work before.

Change-Id: I4104ba95093fa240c5ef7d9d5bf287c1652333f0
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
(cherry picked from commit 8bf54385319df958ea88f9998e7690d4c35e354d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit c9709094377ca8a5f419e49996ce0091b95a6141)
This commit is contained in:
Marc Mutz 2024-12-28 18:26:13 +01:00 committed by Qt Cherry-pick Bot
parent e356f88e54
commit 0f1a569cb6

View File

@ -20,7 +20,7 @@
QT_BEGIN_NAMESPACE
class QEventLoopPrivate : public QObjectPrivate
class Q_AUTOTEST_EXPORT QEventLoopPrivate : public QObjectPrivate
{
Q_DECLARE_PUBLIC(QEventLoop)
public: