Skip to content

Commit

Permalink
tests: skip tst_QGridLayout::setMinAndMaxSize() on Wayland
Browse files Browse the repository at this point in the history
Task-number: QTBUG-107184
Pick-to: 6.4 6.2
Change-Id: Iddc280acd18e230d1ae778ccb6d7d17a8ff3d76c
Reviewed-by: Eskil Abrahamsen Blomfeldt <[email protected]>
  • Loading branch information
liangqi committed Oct 14, 2022
1 parent 3846b27 commit 7f27189
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/auto/widgets/kernel/qgridlayout/tst_qgridlayout.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7f27189

Please sign in to comment.