tests: skip tst_QAction::disableShortcutInMenuAction() on Wayland
QWindow::requestActivate() is not supported. Task-number: QTBUG-107153 Pick-to: 6.4 6.2 Change-Id: Iacdcf4ad4f6da4a5a996f26d3b97fb507a4b116b Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
This commit is contained in:
parent
7d38320c4b
commit
e37baad7fc
@ -414,6 +414,9 @@ void tst_QAction::disableShortcutInMenuAction_data()
|
|||||||
|
|
||||||
void tst_QAction::disableShortcutInMenuAction()
|
void tst_QAction::disableShortcutInMenuAction()
|
||||||
{
|
{
|
||||||
|
if (!QGuiApplicationPrivate::platformIntegration()->hasCapability(QPlatformIntegration::WindowActivation))
|
||||||
|
QSKIP("QWindow::requestActivate() is not supported.");
|
||||||
|
|
||||||
QFETCH(QByteArray, property);
|
QFETCH(QByteArray, property);
|
||||||
|
|
||||||
QMainWindow mw;
|
QMainWindow mw;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user