Commit 58504e21 authored by Thomas Hartmann's avatar Thomas Hartmann Committed by Marco Bubke
Browse files

QmlDesigner.nodeInstances: on windows executables end with exe

On Windows executables have the suffix ".exe"
I also enclosed the strings with QLatin1String

Change-Id: Idf7a16ca6e0370f091225aaea7137418d8563aaf

Reviewed-by: default avatarQt Sanity Bot <>
Reviewed-by: default avatarMarco Bubke <>
parent 414d1286
......@@ -109,16 +109,19 @@ NodeInstanceServerProxy::NodeInstanceServerProxy(NodeInstanceView *nodeInstanceV
QString applicationPath = QCoreApplication::applicationDirPath();
if (runModus == TestModus)
applicationPath += "/../../../../../bin";
applicationPath += QLatin1String("/../../../../../bin");
#ifdef Q_OS_MACX
applicationPath += "/";
applicationPath += QLatin1String("/");
if (hasQtQuick1(nodeInstanceView)) {
applicationPath += "/qmlpuppet";
applicationPath += QLatin1String("/qmlpuppet");
} else {
applicationPath += "/qml2puppet";
applicationPath += QLatin1String("/qml2puppet");
#ifdef Q_OS_WIN
applicationPath += QLatin1String(".exe");
QByteArray envImportPath = qgetenv("QTCREATOR_QMLPUPPET_PATH");
if (!envImportPath.isEmpty()) {
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