mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-22 10:42:29 +01:00
Add google breakpad for crash analytics
This commit is contained in:
parent
cfbf825d50
commit
4785956b2d
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -4,3 +4,6 @@
|
||||
[submodule "Common/qt-google-analytics"]
|
||||
path = Common/qt-google-analytics
|
||||
url = https://github.com/HSAnet/qt-google-analytics.git
|
||||
[submodule "Common/qt-breakpad"]
|
||||
path = Common/qt-breakpad
|
||||
url = https://github.com/kelteseth/qt-breakpad
|
||||
|
1
Common/qt-breakpad
Submodule
1
Common/qt-breakpad
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 4427e3b03e1fc4442ac539e4165d4855716f1d3b
|
@ -5,6 +5,8 @@ CONFIG += c++17
|
||||
TARGETPATH = ScreenPlay
|
||||
|
||||
include($$PWD/../Common/qt-google-analytics/qt-google-analytics.pri)
|
||||
include($$PWD/../Common/qt-breakpad/qt-breakpad.pri)
|
||||
|
||||
ICON = favicon.ico
|
||||
|
||||
DEFINES += QT_DEPRECATED_WARNINGS
|
||||
|
@ -52,6 +52,7 @@ App::App()
|
||||
QGuiApplication::setApplicationVersion("0.9.0");
|
||||
QGuiApplication::setQuitOnLastWindowClosed(false);
|
||||
|
||||
QtBreakpad::init(QDir::current().absolutePath());
|
||||
QFontDatabase::addApplicationFont(":/assets/fonts/LibreBaskerville-Italic.ttf");
|
||||
QFontDatabase::addApplicationFont(":/assets/fonts/Roboto-Light.ttf");
|
||||
QFontDatabase::addApplicationFont(":/assets/fonts/Roboto-Regular.ttf");
|
||||
|
@ -10,13 +10,14 @@
|
||||
#include <QStringList>
|
||||
#include <QUrl>
|
||||
#include <QtGlobal>
|
||||
#include <qqml.h>
|
||||
|
||||
#include <QtQml>
|
||||
#include <QtWebEngine>
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "ganalytics.h"
|
||||
#include "qt_breakpad.h"
|
||||
|
||||
#include "src/create.h"
|
||||
#include "src/globalvariables.h"
|
||||
#include "src/installedlistfilter.h"
|
||||
|
Loading…
Reference in New Issue
Block a user