canvas->show();
canvas->requestActivateWindow();
QTest::qWaitForWindowShown(canvas);
+#ifdef QT_BUILD_INTERNAL
+ QEXPECT_FAIL("", "QTBUG-21687 - Waiting for active window fails for developer build", Abort);
+#endif
QTRY_COMPARE(canvas->windowState(), Qt::WindowActive);
QSGPathView *pathview = qobject_cast<QSGPathView*>(canvas->rootObject());
canvas->show();
canvas->requestActivateWindow();
QTest::qWaitForWindowShown(canvas);
+#ifdef QT_BUILD_INTERNAL
+ QEXPECT_FAIL("", "QTBUG-21687 - Waiting for active window fails for developer build", Abort);
+#endif
QTRY_COMPARE(canvas->windowState(), Qt::WindowActive);
QSGPathView *pathview = qobject_cast<QSGPathView*>(canvas->rootObject());