diff --git a/tests/auto/gui/kernel/qclipboard/tst_qclipboard.cpp b/tests/auto/gui/kernel/qclipboard/tst_qclipboard.cpp index 30366c6aa15..733fd2cc16d 100644 --- a/tests/auto/gui/kernel/qclipboard/tst_qclipboard.cpp +++ b/tests/auto/gui/kernel/qclipboard/tst_qclipboard.cpp @@ -26,6 +26,8 @@ # include #endif +using namespace Qt::StringLiterals; + class tst_QClipboard : public QObject { Q_OBJECT @@ -58,6 +60,10 @@ void tst_QClipboard::initTestCase() #endif if (QGuiApplication::platformName().startsWith(QLatin1String("wayland"), Qt::CaseInsensitive)) QSKIP("Wayland: Manipulating the clipboard requires real input events. Can't auto test."); + if (qgetenv("XDG_CURRENT_DESKTOP").toLower().contains("ubuntu:gnome") + && QSysInfo::productVersion() == "24.04"_L1 + && QSysInfo::prettyProductName() == "Ubuntu 24.04 LTS"_L1) + QSKIP("This hangs on Ubuntu 24.04(.0) GNOME/X11, see also QTBUG-129567."); } #if QT_CONFIG(clipboard)