diff --git a/tests/auto/qabstractitemview/tst_qabstractitemview.cpp b/tests/auto/qabstractitemview/tst_qabstractitemview.cpp index c919df136f..db9110f525 100644 --- a/tests/auto/qabstractitemview/tst_qabstractitemview.cpp +++ b/tests/auto/qabstractitemview/tst_qabstractitemview.cpp @@ -1244,8 +1244,12 @@ void tst_QAbstractItemView::task200665_itemEntered() QCursor::setPos( view.viewport()->mapToGlobal(rect.center()) ); QSignalSpy spy(&view, SIGNAL(entered(QModelIndex))); view.verticalScrollBar()->setValue(view.verticalScrollBar()->maximum()); - QCOMPARE(spy.count(), 1); +#ifdef Q_WS_QPA + QEXPECT_FAIL("", "QTBUG-20753 QCursor::setPos() is broken for QPA", Continue); +#endif + + QCOMPARE(spy.count(), 1); } void tst_QAbstractItemView::task257481_emptyEditor()