GODT-2179: added handler for exceptions in QML backend methods.

GODT-2179: added custom QApplication class to handle exceptions.
GODT-2179: wired sentry report in AppController error handler.
This commit is contained in:
Xavier Michelon
2023-01-09 15:40:24 +01:00
parent f876ffab52
commit e3a43e4ca8
8 changed files with 450 additions and 187 deletions

View File

@ -17,6 +17,7 @@
#include "Pch.h"
#include "BridgeApp.h"
#include "CommandLine.h"
#include "QMLBackend.h"
#include "SentryUtils.h"
@ -311,7 +312,7 @@ int main(int argc, char *argv[]) {
QCoreApplication::setAttribute(Qt::AA_UseSoftwareOpenGL);
}
QApplication guiApp(argc, argv);
BridgeApp guiApp(argc, argv);
try {
initQtApplication();