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 3af20bd8eb, which fixed the weak
vtable that, presumably, made this test work before.

Pick-to: 6.9 6.8
Change-Id: I4104ba95093fa240c5ef7d9d5bf287c1652333f0
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
This commit is contained in:
Marc Mutz 2024-12-28 18:26:13 +01:00
parent 63f1c6fcba
commit 8bf5438531
1 changed files with 1 additions and 1 deletions

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: