diff options
author | Liang Qi <liang.qi@qt.io> | 2022-02-11 14:21:24 +0100 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2022-02-17 00:34:50 +0100 |
commit | d55c049c7cef6b4778236c2b10b6f11411b2cf1e (patch) | |
tree | ba544fadc5da5eec5d3bc0fd9b9b20eda9e39a27 /tests/auto/gui | |
parent | ae9fefe3c89fd5720ccaad0687f125e32f7c3fe6 (diff) |
tests: XFAIL tst_QScreen::grabWindow() on Wayland
Task-number: QTBUG-100792
Pick-to: 6.3 6.2
Change-Id: I1dc257abdc34c586c4c1eda96a43ea75395b1e4a
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'tests/auto/gui')
-rw-r--r-- | tests/auto/gui/kernel/qscreen/tst_qscreen.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/gui/kernel/qscreen/tst_qscreen.cpp b/tests/auto/gui/kernel/qscreen/tst_qscreen.cpp index 18120e8c24..c29162ee67 100644 --- a/tests/auto/gui/kernel/qscreen/tst_qscreen.cpp +++ b/tests/auto/gui/kernel/qscreen/tst_qscreen.cpp @@ -302,6 +302,8 @@ void tst_QScreen::grabWindow() QImage grabbedImage = pixmap.toImage(); const QSize grabbedSize = grabbedImage.size(); + if (QGuiApplication::platformName().startsWith(QLatin1String("wayland"), Qt::CaseInsensitive)) + QEXPECT_FAIL("", "Wayland: Screen grabbing not implemented, See QTBUG-100792.", Abort); QCOMPARE(grabbedSize, expectedGrabSize); QPoint pixelOffset = QPoint(0, 0); |