summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2024-01-17 10:20:43 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2024-01-17 22:48:47 +0000
commit46b2b5d2da123a0a2981430c22809e66d38cab59 (patch)
tree6d2b8ef052ba957a2bba17c7bc705aa58cad2b27
parentMake sure hicolor is searched before dash fallbacks (diff)
downloadqtbase-46b2b5d2da123a0a2981430c22809e66d38cab59.tar.xz
qtbase-46b2b5d2da123a0a2981430c22809e66d38cab59.zip
tests: skip tst_QGuiApplication::topLevelAt() on Wayland
This amends 189f9873ae3f23377708fbf9880398fd6a078715 . Pick-to: 6.5 Fixes: QTBUG-121015 Change-Id: I66d2a2b0162b9c7b488af840ff5d3a881b657782 Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit d4f7d2aeabe2e778224d64a65667aa09b9e42a70) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit 2bcfe080d92654a1deb03380ffa20e73aae58cae)
-rw-r--r--tests/auto/gui/kernel/qguiapplication/tst_qguiapplication.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/gui/kernel/qguiapplication/tst_qguiapplication.cpp b/tests/auto/gui/kernel/qguiapplication/tst_qguiapplication.cpp
index 8791406445..ed3c02e1da 100644
--- a/tests/auto/gui/kernel/qguiapplication/tst_qguiapplication.cpp
+++ b/tests/auto/gui/kernel/qguiapplication/tst_qguiapplication.cpp
@@ -1323,6 +1323,9 @@ void tst_QGuiApplication::topLevelAt()
char *argv[] = { const_cast<char*>("tst_qguiapplication") };
QGuiApplication app(argc, argv);
+ if (QGuiApplication::platformName().startsWith(QLatin1String("wayland"), Qt::CaseInsensitive))
+ QSKIP("QGuiApplication::topLevelAt() is not Wayland compliant, see also QTBUG-121015");
+
QWindow bottom;
bottom.setObjectName("Bottom");
bottom.setFlag(Qt::FramelessWindowHint);