diff --git a/tests/auto/corelib/io/qurl/CMakeLists.txt b/tests/auto/corelib/io/qurl/CMakeLists.txt index ce386c142c6..b5a2ec03312 100644 --- a/tests/auto/corelib/io/qurl/CMakeLists.txt +++ b/tests/auto/corelib/io/qurl/CMakeLists.txt @@ -9,6 +9,7 @@ qt_internal_add_test(tst_qurl tst_qurl.cpp PUBLIC_LIBRARIES Qt::Concurrent + Qt::TestPrivate ) ## Scopes: diff --git a/tests/auto/corelib/io/qurl/tst_qurl.cpp b/tests/auto/corelib/io/qurl/tst_qurl.cpp index 1ee5c9cd420..835dd1e573d 100644 --- a/tests/auto/corelib/io/qurl/tst_qurl.cpp +++ b/tests/auto/corelib/io/qurl/tst_qurl.cpp @@ -38,6 +38,8 @@ #include #include +#include + Q_DECLARE_METATYPE(QUrl::FormattingOptions) class tst_QUrl : public QObject @@ -4124,6 +4126,8 @@ void tst_QUrl::testThreadingHelper() void tst_QUrl::testThreading() { + if (QTestPrivate::isRunningArmOnX86()) + QSKIP("This test fails in QEMU and looks like because of a data race, QTBUG-93176"); s_urlStorage = new UrlStorage; QThreadPool::globalInstance()->setMaxThreadCount(100); QFutureSynchronizer sync;