Commit c663fac2 authored by Thomas Hartmann's avatar Thomas Hartmann

QmlDesigner: MacOS qml2puppet fix


Change-Id: If009550eafee8775a506b512d206a2b0fd34dfee
Reviewed-by: default avatarMarco Bubke <marco.bubke@digia.com>
Reviewed-by: default avatarLeena Miettinen <riitta-leena.miettinen@digia.com>
parent c6df4841
......@@ -511,8 +511,13 @@ QString NodeInstanceServerProxy::qmlPuppetApplicationName() const
QString NodeInstanceServerProxy::macOSBundlePath(const QString &path) const
{
QString applicationPath = path;
if (Utils::HostOsInfo::isMacHost())
applicationPath += QLatin1String("/qmlpuppet.app/Contents/MacOS");
if (Utils::HostOsInfo::isMacHost()) {
if (hasQtQuick2(m_nodeInstanceView.data()))
applicationPath += QLatin1String("/qml2puppet.app/Contents/MacOS");
else
applicationPath += QLatin1String("/qmlpuppet.app/Contents/MacOS");
}
return applicationPath;
}
......
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