From b9843faf1c12b209c88b9e8eb4853e41f2a1e7f9 Mon Sep 17 00:00:00 2001 From: Liang Qi Date: Fri, 14 Oct 2022 11:59:18 +0200 Subject: [PATCH] tests: skip tst_QWidget::touchEventSynthesizedMouseEvent() on Wayland Task-number: QTBUG-107157 Change-Id: I88df3215aceb7a619b4c1fbc2f457400a1bc7025 Reviewed-by: Eskil Abrahamsen Blomfeldt (cherry picked from commit 673f89d62c8516ce30c44ba933f410f6c9e8b1a2) Reviewed-by: Qt Cherry-pick Bot --- tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp b/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp index 3947e9af0c0..795eb06939c 100644 --- a/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp +++ b/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp @@ -11477,6 +11477,9 @@ public: void tst_QWidget::touchEventSynthesizedMouseEvent() { + if (m_platform.startsWith(QLatin1String("wayland"), Qt::CaseInsensitive)) + QSKIP("This test failed on Wayland. See also QTBUG-107157."); + { // Simple case, we ignore the touch events, we get mouse events instead TouchMouseWidget widget;