Commit 386e2046 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.qmlPuppet: allows specifying alternative to qmlpuppet

This allows the user to specify another qmlpuppet then the one
delivered with QtCreator. For example a pupper build with mingw.

The enviroment variable QTCREATOR_QMLPUPPET_PATH is used.

Reviewed-by: Kai Koehne
parent bc0303e1
......@@ -95,6 +95,11 @@ NodeInstanceServerProxy::NodeInstanceServerProxy(NodeInstanceView *nodeInstanceV
applicationPath += "/qmlpuppet";
QByteArray envImportPath = qgetenv("QTCREATOR_QMLPUPPET_PATH");
if (!envImportPath.isEmpty()) {
applicationPath = envImportPath;
m_qmlPuppetEditorProcess = new QProcess;
connect(, SIGNAL(finished(int,QProcess::ExitStatus)), this, SLOT(processFinished(int,QProcess::ExitStatus)));
connect(QCoreApplication::instance(), SIGNAL(aboutToQuit()),, SLOT(kill()));
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