tests: skip tst_QGraphicsView::embeddedViewsWithFocus() on Wayland
QWindow::requestActivate() is not supported. Task-number: QTBUG-107153 Change-Id: Ie9583e55d298fe392d8ab09e9a10d8fce5ce3fee Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> (cherry picked from commit 1dcd4d71715bc3c2b5bb8a6271f5536a02a89f4e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
de7154c0ed
commit
c1cc0df2a9
@ -3539,6 +3539,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…
x
Reference in New Issue
Block a user