forked from qt-creator/qt-creator
QmlDesigner.NodeInstances: Fix application path for tests
Change-Id: I354fa0127732ac83a6cf33c9f19ff29897db8df4 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
This commit is contained in:
@@ -112,7 +112,9 @@ NodeInstanceServerProxy::NodeInstanceServerProxy(NodeInstanceView *nodeInstanceV
|
|||||||
|
|
||||||
QString applicationPath = pathToQt + QLatin1String("/bin");
|
QString applicationPath = pathToQt + QLatin1String("/bin");
|
||||||
if (runModus == TestModus) {
|
if (runModus == TestModus) {
|
||||||
applicationPath = QCoreApplication::applicationDirPath() + QLatin1String("/../../../../../bin");
|
applicationPath = QCoreApplication::applicationDirPath()
|
||||||
|
+ QLatin1String("/../../../../../bin/")
|
||||||
|
+ qmlPuppetApplicationName();
|
||||||
} else {
|
} else {
|
||||||
applicationPath = macOSBundlePath(applicationPath);
|
applicationPath = macOSBundlePath(applicationPath);
|
||||||
applicationPath += QLatin1Char('/') + qmlPuppetApplicationName();
|
applicationPath += QLatin1Char('/') + qmlPuppetApplicationName();
|
||||||
|
Reference in New Issue
Block a user