tests: skip tst_QWindow::enterLeaveOnWindowShowHide() on Wayland

This amends 79ac430537.

Pick-to: 6.6
Change-Id: Id68daff20de11361a1bb20071266e8adafe5e9c4
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
This commit is contained in:
Liang Qi 2023-06-27 15:47:25 +02:00
parent 36c9444e36
commit d1f3ffc80b

View File

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