diff --git a/tests/auto/gui/kernel/qguiapplication/tst_qguiapplication.cpp b/tests/auto/gui/kernel/qguiapplication/tst_qguiapplication.cpp index 8791406445d..ed3c02e1daa 100644 --- a/tests/auto/gui/kernel/qguiapplication/tst_qguiapplication.cpp +++ b/tests/auto/gui/kernel/qguiapplication/tst_qguiapplication.cpp @@ -1323,6 +1323,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);