From 00c074d6c5f990104b833b397f0ed4b36d941046 Mon Sep 17 00:00:00 2001 From: Liang Qi Date: Wed, 12 Oct 2022 16:10:57 +0200 Subject: [PATCH] tests: skip tst_QGridLayout::setMinAndMaxSize() on Wayland Task-number: QTBUG-107184 Change-Id: Iddc280acd18e230d1ae778ccb6d7d17a8ff3d76c Reviewed-by: Eskil Abrahamsen Blomfeldt (cherry picked from commit 7f27189d90d463e09069192157e6ada04bf68266) Reviewed-by: Qt Cherry-pick Bot --- tests/auto/widgets/kernel/qgridlayout/tst_qgridlayout.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/auto/widgets/kernel/qgridlayout/tst_qgridlayout.cpp b/tests/auto/widgets/kernel/qgridlayout/tst_qgridlayout.cpp index fda88fcd831..6b0d944c98d 100644 --- a/tests/auto/widgets/kernel/qgridlayout/tst_qgridlayout.cpp +++ b/tests/auto/widgets/kernel/qgridlayout/tst_qgridlayout.cpp @@ -210,6 +210,9 @@ void tst_QGridLayout::badDistributionBug() void tst_QGridLayout::setMinAndMaxSize() { + if (QGuiApplication::platformName().startsWith(QLatin1String("wayland"), Qt::CaseInsensitive)) + QSKIP("This test crashes on Wayland, see also QTBUG-107184"); + QWidget widget; setFrameless(&widget); QGridLayout layout(&widget);