Commit b3f54238 authored by Marco Bubke's avatar Marco Bubke

QmlDesigner.NodeInstances: Fix application path for tests

Change-Id: I354fa0127732ac83a6cf33c9f19ff29897db8df4
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@nokia.com>
parent f8430d39
......@@ -112,7 +112,9 @@ NodeInstanceServerProxy::NodeInstanceServerProxy(NodeInstanceView *nodeInstanceV
QString applicationPath = pathToQt + QLatin1String("/bin");
if (runModus == TestModus) {
applicationPath = QCoreApplication::applicationDirPath() + QLatin1String("/../../../../../bin");
applicationPath = QCoreApplication::applicationDirPath()
+ QLatin1String("/../../../../../bin/")
+ qmlPuppetApplicationName();
} else {
applicationPath = macOSBundlePath(applicationPath);
applicationPath += QLatin1Char('/') + qmlPuppetApplicationName();
......
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