QmlDesigner.NodeInstances: Fix application path for tests

Change-Id: I354fa0127732ac83a6cf33c9f19ff29897db8df4
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
This commit is contained in:
Marco Bubke
2012-09-04 10:06:14 +02:00
parent f8430d3935
commit b3f54238eb

View File

@@ -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();