tests: skip tst_QGraphicsView::embeddedViewsWithFocus() on Wayland
QWindow::requestActivate() is not supported. Task-number: QTBUG-107153 Pick-to: 6.4 6.2 Change-Id: Ie9583e55d298fe392d8ab09e9a10d8fce5ce3fee Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>bb10
parent
a247da320c
commit
1dcd4d7171
|
|
@ -3541,6 +3541,9 @@ void tst_QGraphicsView::embeddedViewsWithFocus()
|
|||
void focusOutEvent(QFocusEvent *) override { --focusCount; }
|
||||
};
|
||||
|
||||
if (!QGuiApplicationPrivate::platformIntegration()->hasCapability(QPlatformIntegration::WindowActivation))
|
||||
QSKIP("QWindow::requestActivate() is not supported.");
|
||||
|
||||
QGraphicsScene innerScene;
|
||||
FocusWidget *innerWidget = new FocusWidget;
|
||||
innerScene.addWidget(innerWidget);
|
||||
|
|
|
|||
Loading…
Reference in New Issue