Index: sources/gui/guiglobals.cpp =================================================================== diff -u -rf148379112a69d1c52027f2667e95f3f96d948ad -rd3f916066c2d10c10fffa91fd8a7e5ac6dd86c7d --- sources/gui/guiglobals.cpp (.../guiglobals.cpp) (revision f148379112a69d1c52027f2667e95f3f96d948ad) +++ sources/gui/guiglobals.cpp (.../guiglobals.cpp) (revision d3f916066c2d10c10fffa91fd8a7e5ac6dd86c7d) @@ -62,12 +62,15 @@ * \brief startGui * \details the GUI initializer/starter function */ - void startGui() { + bool startGui() { _viewer = new QQuickView; registerTypes(); registerQmlTypes(); QObject::connect(_viewer, &QQuickView::statusChanged, qApp, [=](QQuickView::Status vStatus) { + // coco begin validated: this portion of the code is handling application initialization + // and if not initialized correctly will terminate the applicaiton . + // So it had been manually tested. bool ok = vStatus == QQuickView::Ready; if (ok) { _viewer->show(); @@ -78,8 +81,10 @@ } QCoreApplication::exit(-1); } + // coco end + }, Qt::QueuedConnection ); - }); _viewer->setSource(QStringLiteral("qrc:/main.qml")); + return true; } }