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
#include <qtsystemexceptionhandler.h>
#endif
+#ifdef Q_OS_WIN
+#include <windows.h>
+#endif
+
int main(int argc, char *argv[])
{
QApplication application(argc, 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
+#endif
+
return application.exec();
}