tests: skip two tests in tst_QGraphicsProxyWidget on Wayland
QWindow::requestActivate() is not supported. Task-number: QTBUG-107153 Pick-to: 6.4 6.2 Change-Id: I41c0c24c73ea5add821109172470d37a9b6211a8 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
This commit is contained in:
parent
65d9b48a70
commit
19dabbbc73
@ -806,6 +806,9 @@ void tst_QGraphicsProxyWidget::focusProxy_QTBUG_51856()
|
||||
}
|
||||
};
|
||||
|
||||
if (!QGuiApplicationPrivate::platformIntegration()->hasCapability(QPlatformIntegration::WindowActivation))
|
||||
QSKIP("QWindow::requestActivate() is not supported.");
|
||||
|
||||
QGraphicsScene scene;
|
||||
QGraphicsView view(&scene);
|
||||
SubQGraphicsProxyWidget *proxy = new SubQGraphicsProxyWidget;
|
||||
@ -3278,6 +3281,9 @@ public:
|
||||
|
||||
void tst_QGraphicsProxyWidget::inputMethod()
|
||||
{
|
||||
if (!QGuiApplicationPrivate::platformIntegration()->hasCapability(QPlatformIntegration::WindowActivation))
|
||||
QSKIP("QWindow::requestActivate() is not supported.");
|
||||
|
||||
QGraphicsScene scene;
|
||||
|
||||
// check that the proxy is initialized with the correct input method sensitivity
|
||||
|
Loading…
Reference in New Issue
Block a user