diff options
-rw-r--r-- | tests/auto/widgets/dialogs/qdialog/tst_qdialog.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/widgets/dialogs/qdialog/tst_qdialog.cpp b/tests/auto/widgets/dialogs/qdialog/tst_qdialog.cpp index d603fdd7da..3a26d3c2f0 100644 --- a/tests/auto/widgets/dialogs/qdialog/tst_qdialog.cpp +++ b/tests/auto/widgets/dialogs/qdialog/tst_qdialog.cpp @@ -565,6 +565,9 @@ void tst_QDialog::snapToDefaultButton() #ifdef QT_NO_CURSOR QSKIP("Test relies on there being a cursor"); #else + if (qApp->platformName().toLower() == QLatin1String("wayland")) + QSKIP("Wayland: Wayland does not support setting the cursor position."); + QPoint topLeftPos = QApplication::desktop()->availableGeometry().topLeft(); topLeftPos = QPoint(topLeftPos.x() + 100, topLeftPos.y() + 100); QPoint startingPos(topLeftPos.x() + 250, topLeftPos.y() + 250); |