mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-09-15 06:52:34 +02: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"]
|
[submodule "Common/qt-google-analytics"]
|
||||||
path = Common/qt-google-analytics
|
path = Common/qt-google-analytics
|
||||||
url = https://github.com/HSAnet/qt-google-analytics.git
|
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
|
TARGETPATH = ScreenPlay
|
||||||
|
|
||||||
include($$PWD/../Common/qt-google-analytics/qt-google-analytics.pri)
|
include($$PWD/../Common/qt-google-analytics/qt-google-analytics.pri)
|
||||||
|
include($$PWD/../Common/qt-breakpad/qt-breakpad.pri)
|
||||||
|
|
||||||
ICON = favicon.ico
|
ICON = favicon.ico
|
||||||
|
|
||||||
DEFINES += QT_DEPRECATED_WARNINGS
|
DEFINES += QT_DEPRECATED_WARNINGS
|
||||||
|
@ -52,6 +52,7 @@ App::App()
|
|||||||
QGuiApplication::setApplicationVersion("0.9.0");
|
QGuiApplication::setApplicationVersion("0.9.0");
|
||||||
QGuiApplication::setQuitOnLastWindowClosed(false);
|
QGuiApplication::setQuitOnLastWindowClosed(false);
|
||||||
|
|
||||||
|
QtBreakpad::init(QDir::current().absolutePath());
|
||||||
QFontDatabase::addApplicationFont(":/assets/fonts/LibreBaskerville-Italic.ttf");
|
QFontDatabase::addApplicationFont(":/assets/fonts/LibreBaskerville-Italic.ttf");
|
||||||
QFontDatabase::addApplicationFont(":/assets/fonts/Roboto-Light.ttf");
|
QFontDatabase::addApplicationFont(":/assets/fonts/Roboto-Light.ttf");
|
||||||
QFontDatabase::addApplicationFont(":/assets/fonts/Roboto-Regular.ttf");
|
QFontDatabase::addApplicationFont(":/assets/fonts/Roboto-Regular.ttf");
|
||||||
|
@ -10,13 +10,14 @@
|
|||||||
#include <QStringList>
|
#include <QStringList>
|
||||||
#include <QUrl>
|
#include <QUrl>
|
||||||
#include <QtGlobal>
|
#include <QtGlobal>
|
||||||
#include <qqml.h>
|
#include <QtQml>
|
||||||
|
|
||||||
#include <QtWebEngine>
|
#include <QtWebEngine>
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
#include "ganalytics.h"
|
#include "ganalytics.h"
|
||||||
|
#include "qt_breakpad.h"
|
||||||
|
|
||||||
#include "src/create.h"
|
#include "src/create.h"
|
||||||
#include "src/globalvariables.h"
|
#include "src/globalvariables.h"
|
||||||
#include "src/installedlistfilter.h"
|
#include "src/installedlistfilter.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user