summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/kernel/qstackedlayout/tst_qstackedlayout.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/widgets/kernel/qstackedlayout/tst_qstackedlayout.cpp')
-rw-r--r--tests/auto/widgets/kernel/qstackedlayout/tst_qstackedlayout.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/widgets/kernel/qstackedlayout/tst_qstackedlayout.cpp b/tests/auto/widgets/kernel/qstackedlayout/tst_qstackedlayout.cpp
index 10712ea9ad..053dc03296 100644
--- a/tests/auto/widgets/kernel/qstackedlayout/tst_qstackedlayout.cpp
+++ b/tests/auto/widgets/kernel/qstackedlayout/tst_qstackedlayout.cpp
@@ -92,6 +92,9 @@ tst_QStackedLayout::tst_QStackedLayout()
void tst_QStackedLayout::init()
{
+ if (QGuiApplication::platformName().startsWith(QLatin1String("wayland"), Qt::CaseInsensitive))
+ QSKIP("Wayland: This fails. Figure out why.");
+
if (testWidget) {
delete testWidget;
testWidget = 0;