Wayland: skip tst_QWindow::modalWindowEnterEventOnHide_QTBUG35109()

because QCursor::setPos() doesn't work on this platform due to
security reason.

Perhaps things will change after pointer_warp_v1 protocal was
implemented in both compositor and qt wayland client side.

Pick-to: 6.10
Task-number: QTBUG-137020
Change-Id: I322c6abd0de0871ecef6b1b4fd5498a573e1232f
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
This commit is contained in:
Liang Qi 2025-06-23 12:45:22 +02:00
parent b839e95f91
commit bb2829703c
1 changed files with 1 additions and 1 deletions

View File

@ -2584,7 +2584,7 @@ void tst_QWindow::modalWindowEnterEventOnHide_QTBUG35109()
if (isPlatformOffscreenOrMinimal())
QSKIP("Can't test window focusing on offscreen/minimal");
if (isPlatformEglFS())
if (isPlatformEglFS() || isPlatformWayland())
QSKIP("QCursor::setPos() is not supported on this platform");
const QPoint center = QGuiApplication::primaryScreen()->availableGeometry().center();