Commit 7aaaa750 authored by Marco Bubke's avatar Marco Bubke
Browse files

Add breakpad

This is not activated if breakpad and qt-breakpad is not availiable.
parent 3e152fc8
......@@ -9,6 +9,10 @@ SOURCES += main.cpp
include(../rpath.pri)
QT_BREAKPAD_ROOT_PATH = $$(QT_BREAKPAD_ROOT_PATH)
!isEmpty(QT_BREAKPAD_ROOT_PATH) {
include($$QT_BREAKPAD_ROOT_PATH/qtbreakpad.pri)
}
win32 {
CONFIG(debug, debug|release):LIBS *= -lExtensionSystemd -lAggregationd
else:LIBS *= -lExtensionSystem -lAggregation
......
......@@ -49,6 +49,10 @@
#include <QtGui/QApplication>
#include <QtGui/QMainWindow>
#ifdef ENABLE_QT_BREAKPAD
#include <qtsystemexceptionhandler.h>
#endif
enum { OptionIndent = 4, DescriptionIndent = 24 };
static const char *appNameC = "Qt Creator";
......@@ -180,6 +184,10 @@ int main(int argc, char **argv)
SharedTools::QtSingleApplication app((QLatin1String(appNameC)), argc, argv);
#ifdef ENABLE_QT_BREAKPAD
QtSystemExceptionHandler systemExceptionHandler;
#endif
QTranslator translator;
QTranslator qtTranslator;
QString locale = QLocale::system().name();
......
......@@ -46,7 +46,6 @@ contains(QT_CONFIG, declarative) {
include(../private_headers.pri)
exists($${QT_PRIVATE_HEADERS}/QtDeclarative/private/qdeclarativecontext_p.h) {
SUBDIRS += plugin_qmldesigner
} else {
warning()
warning("QmlDesigner plugin have been disabled")
......
TEMPLATE = subdirs
win32:SUBDIRS = qtcdebugger
SUBDIRS += qml
QT_BREAKPAD_ROOT_PATH = $$(QT_BREAKPAD_ROOT_PATH)
!isEmpty(QT_BREAKPAD_ROOT_PATH) {
SUBDIRS += qtcrashhandler
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment