diff --git a/autotests/integration/globalshortcuts_test.cpp b/autotests/integration/globalshortcuts_test.cpp index 5fab4246f6..29679398ba 100644 --- a/autotests/integration/globalshortcuts_test.cpp +++ b/autotests/integration/globalshortcuts_test.cpp @@ -306,6 +306,9 @@ struct XcbConnectionDeleter void GlobalShortcutsTest::testX11ClientShortcut() { +#ifdef NO_XWAYLAND + QSKIP("x11 test, unnecessary without xwayland"); +#endif // create an X11 window QScopedPointer c(xcb_connect(nullptr, nullptr)); QVERIFY(!xcb_connection_has_error(c.data()));