Commit 321b3892 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.qmlPuppet: avoid debug error messages boxes

Wit this patch all crashes of qmldump are silent
now (in release mode).
This means Qt Quick Designer will just (silently) recover.

Reviewed-by: Kai Koehne
parent 004049db
......@@ -42,6 +42,10 @@
#include <qtsystemexceptionhandler.h>
#ifdef Q_OS_WIN
#include <windows.h>
int main(int argc, char *argv[])
QApplication application(argc, argv);
......@@ -60,5 +64,9 @@ int main(int argc, char *argv[])
new QmlDesigner::NodeInstanceClientProxy(&application);
#if defined(Q_OS_WIN) && defined(QT_NO_DEBUG)
SetErrorMode(SEM_NOGPFAULTERRORBOX); //We do not want to see any message boxes
return application.exec();
Supports Markdown
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