tests: skip two tests in tst_QAbstractItemView on Wayland
QWindow::requestActivate() is not supported. Task-number: QTBUG-107153 Pick-to: 6.4 6.2 Change-Id: I9080fbb0ae0a604ad4a7ffa55ba3243d1cf96be8 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
This commit is contained in:
parent
1dcd4d7171
commit
7d38320c4b
@ -3085,6 +3085,9 @@ void tst_QAbstractItemView::mouseSelection()
|
||||
*/
|
||||
void tst_QAbstractItemView::scrollerSmoothScroll()
|
||||
{
|
||||
if (!QGuiApplicationPrivate::platformIntegration()->hasCapability(QPlatformIntegration::WindowActivation))
|
||||
QSKIP("QWindow::requestActivate() is not supported.");
|
||||
|
||||
QListWidget view;
|
||||
view.setAutoScroll(true);
|
||||
view.setVerticalScrollMode(QListView::ScrollPerPixel);
|
||||
@ -3154,6 +3157,9 @@ void tst_QAbstractItemView::inputMethodOpensEditor_data()
|
||||
|
||||
void tst_QAbstractItemView::inputMethodOpensEditor()
|
||||
{
|
||||
if (!QGuiApplicationPrivate::platformIntegration()->hasCapability(QPlatformIntegration::WindowActivation))
|
||||
QSKIP("QWindow::requestActivate() is not supported.");
|
||||
|
||||
QTableWidget tableWidget(50, 50);
|
||||
tableWidget.setEditTriggers(QAbstractItemView::AnyKeyPressed);
|
||||
for (int r = 0; r < 50; ++r) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user