tests: skip two tests in tst_QGraphicsProxyWidget on Wayland
QWindow::requestActivate() is not supported. Task-number: QTBUG-107153 Change-Id: I41c0c24c73ea5add821109172470d37a9b6211a8 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> (cherry picked from commit 19dabbbc733884d6d6ce55ef95d81e243fa8491c) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
672269f321
commit
8da325be2d
@ -804,6 +804,9 @@ void tst_QGraphicsProxyWidget::focusProxy_QTBUG_51856()
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if (!QGuiApplicationPrivate::platformIntegration()->hasCapability(QPlatformIntegration::WindowActivation))
|
||||||
|
QSKIP("QWindow::requestActivate() is not supported.");
|
||||||
|
|
||||||
QGraphicsScene scene;
|
QGraphicsScene scene;
|
||||||
QGraphicsView view(&scene);
|
QGraphicsView view(&scene);
|
||||||
SubQGraphicsProxyWidget *proxy = new SubQGraphicsProxyWidget;
|
SubQGraphicsProxyWidget *proxy = new SubQGraphicsProxyWidget;
|
||||||
@ -3276,6 +3279,9 @@ public:
|
|||||||
|
|
||||||
void tst_QGraphicsProxyWidget::inputMethod()
|
void tst_QGraphicsProxyWidget::inputMethod()
|
||||||
{
|
{
|
||||||
|
if (!QGuiApplicationPrivate::platformIntegration()->hasCapability(QPlatformIntegration::WindowActivation))
|
||||||
|
QSKIP("QWindow::requestActivate() is not supported.");
|
||||||
|
|
||||||
QGraphicsScene scene;
|
QGraphicsScene scene;
|
||||||
|
|
||||||
// check that the proxy is initialized with the correct input method sensitivity
|
// check that the proxy is initialized with the correct input method sensitivity
|
||||||
|
Loading…
x
Reference in New Issue
Block a user