From c73372b5fefb33c8ff6d5983bc6c86b618f0a429 Mon Sep 17 00:00:00 2001 From: Liang Qi Date: Tue, 27 Jun 2023 15:47:25 +0200 Subject: [PATCH] tests: skip tst_QWindow::enterLeaveOnWindowShowHide() on Wayland MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This amends 79ac43053798763828d51c79f6368465b1db1c87. Change-Id: Id68daff20de11361a1bb20071266e8adafe5e9c4 Reviewed-by: Tor Arne Vestbø (cherry picked from commit d1f3ffc80b0e15a4342fd0e5a334f42e378d401b) Reviewed-by: Qt Cherry-pick Bot --- tests/auto/gui/kernel/qwindow/tst_qwindow.cpp | 3 +++ 1 file changed, 3 insertions(+) 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