summaryrefslogtreecommitdiffstats
path: root/tests/auto/gui/kernel/qwindow
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2023-06-27 15:47:25 +0200
committerLiang Qi <liang.qi@qt.io>2023-06-27 19:52:17 +0200
commitd1f3ffc80b0e15a4342fd0e5a334f42e378d401b (patch)
treee41b1ad7c3e9a44b4a9ded92dd15a4e9779819cd /tests/auto/gui/kernel/qwindow
parent36c9444e3656e4109bb7d07d67c62a4873dc8ef1 (diff)
tests: skip tst_QWindow::enterLeaveOnWindowShowHide() on Wayland
This amends 79ac43053798763828d51c79f6368465b1db1c87. Pick-to: 6.6 Change-Id: Id68daff20de11361a1bb20071266e8adafe5e9c4 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'tests/auto/gui/kernel/qwindow')
-rw-r--r--tests/auto/gui/kernel/qwindow/tst_qwindow.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp b/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp
index aae7963585..c0d9bd3993 100644
--- a/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp
+++ b/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp
@@ -2903,6 +2903,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