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. 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:
parent
63f1c6fcba
commit
8bf5438531
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
QT_BEGIN_NAMESPACE
|
QT_BEGIN_NAMESPACE
|
||||||
|
|
||||||
class QEventLoopPrivate : public QObjectPrivate
|
class Q_AUTOTEST_EXPORT QEventLoopPrivate : public QObjectPrivate
|
||||||
{
|
{
|
||||||
Q_DECLARE_PUBLIC(QEventLoop)
|
Q_DECLARE_PUBLIC(QEventLoop)
|
||||||
public:
|
public:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user