diff --git a/src/tools/qml2puppet/qml2puppet/qmlpuppet.cpp b/src/tools/qml2puppet/qml2puppet/qmlpuppet.cpp index 332def504ee..345e2c4cf74 100644 --- a/src/tools/qml2puppet/qml2puppet/qmlpuppet.cpp +++ b/src/tools/qml2puppet/qml2puppet/qmlpuppet.cpp @@ -124,13 +124,13 @@ void QmlPuppet::initQmlRunner() QString options = m_coreApp->arguments().at(4); Import3D::import3D(sourceAsset, outDir, options); + } else { + startCrashpad(QCoreApplication::applicationDirPath() + + '/' + RELATIVE_LIBEXEC_PATH, crashReportsPath()); + + new QmlDesigner::Qt5NodeInstanceClientProxy(m_coreApp.get()); } - startCrashpad(QCoreApplication::applicationDirPath() - + '/' + RELATIVE_LIBEXEC_PATH, crashReportsPath()); - - new QmlDesigner::Qt5NodeInstanceClientProxy(m_coreApp.get()); - #if defined(Q_OS_WIN) && defined(QT_NO_DEBUG) SetErrorMode(SEM_NOGPFAULTERRORBOX); //We do not want to see any message boxes #endif