diff --git a/tests/auto/gui/kernel/qguiapplication/tst_qguiapplication.cpp b/tests/auto/gui/kernel/qguiapplication/tst_qguiapplication.cpp index e4f1158d27d..d969858ac68 100644 --- a/tests/auto/gui/kernel/qguiapplication/tst_qguiapplication.cpp +++ b/tests/auto/gui/kernel/qguiapplication/tst_qguiapplication.cpp @@ -1333,6 +1333,9 @@ void tst_QGuiApplication::topLevelAt() char *argv[] = { const_cast("tst_qguiapplication") }; QGuiApplication app(argc, argv); + if (QGuiApplication::platformName().startsWith(QLatin1String("wayland"), Qt::CaseInsensitive)) + QSKIP("QGuiApplication::topLevelAt() is not Wayland compliant, see also QTBUG-121015"); + QWindow bottom; bottom.setObjectName("Bottom"); bottom.setFlag(Qt::FramelessWindowHint);