Index: sources/gui/guiglobals.cpp =================================================================== diff -u -rd2035a8728794afeefaa244bf8d1597926d945f5 -r9cc1608f615e66d0f1c3a022aa6d19579d76b241 --- sources/gui/guiglobals.cpp (.../guiglobals.cpp) (revision d2035a8728794afeefaa244bf8d1597926d945f5) +++ sources/gui/guiglobals.cpp (.../guiglobals.cpp) (revision 9cc1608f615e66d0f1c3a022aa6d19579d76b241) @@ -1,16 +1,16 @@ /*! - * + * * Copyright (c) 2019-2020 Diality Inc. - All Rights Reserved. * \copyright * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. - * + * * \file guiglobals.cpp * \author (last) Behrouz NemaiPour * \date (last) 12-Jun-2020 * \author (original) Behrouz NematiPour * \date (original) 28-Oct-2019 - * + * */ #include "guiglobals.h" @@ -73,6 +73,7 @@ // but Qt needs them to be registered to be able to use them in between threads queue // by their metadata information. REGISTER_MODEL_METATYPES + LOG_DEBUG(__FUNCTION__); } /*! @@ -85,6 +86,7 @@ qmlRegisterUncreatableType ("Gui.Actions", 0, 1, "GuiActions", QStringLiteral("Used only for enumerations no need to have an object")); REGISTER_VIEW_TYPES + LOG_DEBUG(__FUNCTION__); } /*! @@ -100,6 +102,7 @@ // 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. + LOG_DEBUG(__FUNCTION__); bool ok = vStatus == QQuickView::Ready; if (ok) { _viewer->show(); @@ -113,7 +116,9 @@ // coco end }, Qt::QueuedConnection ); + LOG_DEBUG(__FUNCTION__); _viewer->setSource(QStringLiteral("qrc:/main.qml")); + LOG_DEBUG("Done"); return true; } }