1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2025-02-01 04:51:48 +01:00

Add breakpad support for ScreenPlayWallpaper

This commit is contained in:
Elias Steurer 2020-03-06 12:54:10 +01:00
parent 4785956b2d
commit 321635a1cc
2 changed files with 5 additions and 0 deletions

View File

@ -6,6 +6,8 @@ DEFINES += QT_DEPRECATED_WARNINGS
TARGETPATH = ScreenPlayWallpaper
include($$PWD/../Common/qt-breakpad/qt-breakpad.pri)
RESOURCES += \
SPWResources.qrc

View File

@ -18,6 +18,7 @@
#endif
#include "../ScreenPlaySDK/screenplaysdk.h"
#include "qt_breakpad.h"
int main(int argc, char* argv[])
{
@ -27,6 +28,8 @@ int main(int argc, char* argv[])
QApplication app(argc, argv);
QtBreakpad::init(QDir::current().absolutePath());
// This gives us nice clickable output in QtCreator
qSetMessagePattern("%{if-category}%{category}: %{endif}%{message}\n Loc: [%{file}:%{line}]");