Skip to content

Commit

Permalink
Fix tests with older Qt
Browse files Browse the repository at this point in the history
  • Loading branch information
ogoffart committed Jul 9, 2019
1 parent f7b01fa commit 50d091a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/qt/qmetaobject/tst_qmetaobject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1380,6 +1380,10 @@ void tst_QMetaObject::invokeException()

void tst_QMetaObject::invokeQueuedAutoRegister()
{
#if QT_VERSION < QT_VERSION_CHECK(5, 9, 0)
QSKIP("Bug fixed in Qt 5.9");
#endif

QtTestObject obj;

auto shared = QSharedPointer<QtTestObject>::create(QStringLiteral("myShared-"));
Expand Down

0 comments on commit 50d091a

Please sign in to comment.