diff --git a/tests/auto/widgets/graphicsview/qgraphicswidget/tst_qgraphicswidget.cpp b/tests/auto/widgets/graphicsview/qgraphicswidget/tst_qgraphicswidget.cpp index 1be17b552e..5e3cb66aae 100644 --- a/tests/auto/widgets/graphicsview/qgraphicswidget/tst_qgraphicswidget.cpp +++ b/tests/auto/widgets/graphicsview/qgraphicswidget/tst_qgraphicswidget.cpp @@ -41,6 +41,7 @@ #include #include #include +#include typedef QList QGraphicsItemList; @@ -1775,11 +1776,17 @@ void tst_QGraphicsWidget::updateFocusChainWhenChildDie() QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, center); #ifdef Q_OS_MAC QEXPECT_FAIL("", "QTBUG-23699", Continue); +#endif +#ifdef Q_OS_WIN + if (QSysInfo::kernelVersion() == "10.0.15063") { + QEXPECT_FAIL("", "This fails on Windows 10 Creators Update (10.0.15063)", Continue); + } #endif QTRY_COMPARE(qApp->activeWindow(), static_cast(&view)); QTRY_COMPARE(scene.focusItem(), static_cast(w)); } + void tst_QGraphicsWidget::sizeHint_data() { QTest::addColumn("layout");