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

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-on: http://codereview.qt.nokia.com/436Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarMarco Bubke <marco.bubke@nokia.com>
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 += "/qmlpuppet.app/Contents/MacOS";
applicationPath += QLatin1String("/qmlpuppet.app/Contents/MacOS");
#endif
if (hasQtQuick1(nodeInstanceView)) {
applicationPath += "/qmlpuppet";
applicationPath += QLatin1String("/qmlpuppet");
} else {
applicationPath += "/qml2puppet";
applicationPath += QLatin1String("/qml2puppet");
}
#ifdef Q_OS_WIN
applicationPath += QLatin1String(".exe");
#endif
QByteArray envImportPath = qgetenv("QTCREATOR_QMLPUPPET_PATH");
if (!envImportPath.isEmpty()) {
......
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