diff --git a/tests/auto/gui/text/qfont/CMakeLists.txt b/tests/auto/gui/text/qfont/CMakeLists.txt index eb1f9747b25..32cbed7aaf3 100644 --- a/tests/auto/gui/text/qfont/CMakeLists.txt +++ b/tests/auto/gui/text/qfont/CMakeLists.txt @@ -11,6 +11,8 @@ qt_internal_add_test(tst_qfont Qt::CorePrivate Qt::Gui Qt::GuiPrivate + INCLUDE_DIRECTORIES + ../../../../shared ) # Resources: diff --git a/tests/auto/gui/text/qfont/tst_qfont.cpp b/tests/auto/gui/text/qfont/tst_qfont.cpp index d1a202ace27..efd1215d70e 100644 --- a/tests/auto/gui/text/qfont/tst_qfont.cpp +++ b/tests/auto/gui/text/qfont/tst_qfont.cpp @@ -41,6 +41,7 @@ #include #endif #include +#include "emulationdetector.h" class tst_QFont : public QObject { @@ -576,6 +577,10 @@ void tst_QFont::defaultFamily() break; } } +#ifdef Q_PROCESSOR_ARM_32 + if (EmulationDetector::isRunningArmOnX86()) + QEXPECT_FAIL("", "Fails on ARMv7 QEMU (QTQAINFRA-4127)", Continue); +#endif #ifdef Q_OS_ANDROID QEXPECT_FAIL("serif", "QTBUG-69215", Continue);