diff --git a/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp b/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp index b092ebe6232..548019d78a5 100644 --- a/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp +++ b/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp @@ -2896,6 +2896,9 @@ void tst_QWindow::enterLeaveOnWindowShowHide_data() */ void tst_QWindow::enterLeaveOnWindowShowHide() { + if (isPlatformWayland()) + QSKIP("Can't set cursor position and qWaitForWindowActive on Wayland"); + QFETCH(Qt::WindowType, windowType); class Window : public QWindow