Commit 73b431a9 authored by Marco Bubke's avatar Marco Bubke
Browse files

QmlDesigner.NodeInstances: Add breakpad to qmlpuppet

parent 5d53aa14
...@@ -38,6 +38,10 @@ ...@@ -38,6 +38,10 @@
#include <nodeinstanceclientproxy.h> #include <nodeinstanceclientproxy.h>
#ifdef ENABLE_QT_BREAKPAD
#include <qtsystemexceptionhandler.h>
#endif
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
QApplication application(argc, argv); QApplication application(argc, argv);
...@@ -49,6 +53,10 @@ int main(int argc, char *argv[]) ...@@ -49,6 +53,10 @@ int main(int argc, char *argv[])
QCoreApplication::setOrganizationDomain("nokia.com"); QCoreApplication::setOrganizationDomain("nokia.com");
QCoreApplication::setApplicationName("QmlPuppet"); QCoreApplication::setApplicationName("QmlPuppet");
#ifdef ENABLE_QT_BREAKPAD
QtSystemExceptionHandler systemExceptionHandler;
#endif
new QmlDesigner::NodeInstanceClientProxy(&application); new QmlDesigner::NodeInstanceClientProxy(&application);
return application.exec(); return application.exec();
......
...@@ -14,6 +14,12 @@ include(../../rpath.pri) ...@@ -14,6 +14,12 @@ include(../../rpath.pri)
include (../../plugins/qmldesigner/designercore/instances/instances.pri) include (../../plugins/qmldesigner/designercore/instances/instances.pri)
include (../../plugins/qmldesigner/designercore/exceptions/exceptions.pri) include (../../plugins/qmldesigner/designercore/exceptions/exceptions.pri)
QT_BREAKPAD_ROOT_PATH = $$(QT_BREAKPAD_ROOT_PATH)
!isEmpty(QT_BREAKPAD_ROOT_PATH) {
include($$QT_BREAKPAD_ROOT_PATH/qtbreakpad.pri)
}
SOURCES += main.cpp SOURCES += main.cpp
RESOURCES += qmlpuppet.qrc RESOURCES += qmlpuppet.qrc
......
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