tests: skip tst_QWindow::enterLeaveOnWindowShowHide() on Wayland

This amends 79ac43053798763828d51c79f6368465b1db1c87.

Change-Id: Id68daff20de11361a1bb20071266e8adafe5e9c4
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
(cherry picked from commit d1f3ffc80b0e15a4342fd0e5a334f42e378d401b)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Liang Qi 2023-06-27 15:47:25 +02:00 committed by Qt Cherry-pick Bot
parent 50dbf86104
commit c73372b5fe

View File

@ -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