Index: sources/gui/GuiGlobals.cpp =================================================================== diff -u -r30a3a58cde0e82d66c8c5f242ec550007e20b694 -r13e65c3d271d503c2e2e2f1f20736652c470f8cc --- sources/gui/GuiGlobals.cpp (.../GuiGlobals.cpp) (revision 30a3a58cde0e82d66c8c5f242ec550007e20b694) +++ sources/gui/GuiGlobals.cpp (.../GuiGlobals.cpp) (revision 13e65c3d271d503c2e2e2f1f20736652c470f8cc) @@ -7,25 +7,30 @@ * * \file GuiGlobals.cpp * \author (last) Behrouz NematiPour - * \date (last) 07-Oct-2021 + * \date (last) 18-Apr-2022 * \author (original) Behrouz NematiPour * \date (original) 26-Aug-2020 * */ #include "GuiGlobals.h" // Qt +#include #include // Project #include "Logger.h" #include "GuiView.h" #include "VEventSpy.h" +#include "VGeneralEvent.h" // POST #include "VHDPOSTData.h" #include "VDGPOSTData.h" +// Confirm +#include "VConfirm.h" + // Device #include "DeviceView.h" @@ -35,9 +40,9 @@ #include "VSettings.h" #include "VAlarmStatus.h" #include "VAlarmActiveList.h" -#include "VPowerOff.h" #include "VAdjustmentVersions.h" -#include "VAdjustmentService.h" +#include "VAdjustmentServiceMode.h" +#include "VAdjustmentServiceDates.h" #include "VDateTime.h" #include "VNetworkModel.h" #include "VAdjustmentAlarmVolume.h" @@ -170,7 +175,7 @@ registerQmlTypes(); QObject::connect(_viewer, &MainView::statusChanged, qApp, [=](MainView::Status vStatus) { - // coco begin validated: this portion of the code is handling application initialization + // disabled coco begin validated: this portion of the code is handling application initialization // and if not initialized correctly will terminate the application . // So it had been manually tested. bool ok = vStatus == MainView::Ready; @@ -183,10 +188,12 @@ } QCoreApplication::exit(-1); } - // coco end + // disabled coco end }, Qt::QueuedConnection ); LOG_DEBUG("MainView Starting"); + _viewer->engine()->addImportPath("qrc:/plugins"); + //DEBUG: qDebug() << _viewer->engine()->importPathList(); _viewer->setSource(QStringLiteral("qrc:/main.qml")); LOG_DEBUG("MainView started"); return true;