diff --git a/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp b/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp index cc904cccfe6..ef3e9a69c6f 100644 --- a/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp +++ b/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp @@ -2584,7 +2584,7 @@ void tst_QWindow::modalWindowEnterEventOnHide_QTBUG35109() if (isPlatformOffscreenOrMinimal()) QSKIP("Can't test window focusing on offscreen/minimal"); - if (isPlatformEglFS()) + if (isPlatformEglFS() || isPlatformWayland()) QSKIP("QCursor::setPos() is not supported on this platform"); const QPoint center = QGuiApplication::primaryScreen()->availableGeometry().center();