diff options
author | Jake Petroules <jake.petroules@petroules.com> | 2015-01-07 09:17:19 -0800 |
---|---|---|
committer | Jake Petroules <jake.petroules@petroules.com> | 2015-01-08 16:23:58 +0100 |
commit | a2b05dbc533c9456738bf24807c75d7734df0217 (patch) | |
tree | f3a04d81c81df56b290721b6284fdab84f992261 /src/lib/corelib/api/runenvironment.cpp | |
parent | 0fcbcb9ddf7fab9698bccbd75f1190640f641439 (diff) |
Use new qbs.installRoot property instead of QBS_INSTALL_ROOT env var.
Change-Id: I7166fc494ab0581d93753408ff81d6655b58052c
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Diffstat (limited to 'src/lib/corelib/api/runenvironment.cpp')
-rw-r--r-- | src/lib/corelib/api/runenvironment.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lib/corelib/api/runenvironment.cpp b/src/lib/corelib/api/runenvironment.cpp index 61e8620dc..d851c79df 100644 --- a/src/lib/corelib/api/runenvironment.cpp +++ b/src/lib/corelib/api/runenvironment.cpp @@ -192,10 +192,7 @@ int RunEnvironment::runTarget(const QString &targetBin, const QStringList &argum return EXIT_FAILURE; } - const QString installRoot = effectiveInstallRoot(d->installOptions, - d->resolvedProduct->topLevelProject()); QProcessEnvironment env = d->environment; - env.insert(QLatin1String("QBS_INSTALL_ROOT"), installRoot); env.insert(QLatin1String("QBS_RUN_FILE_PATH"), targetBin); d->resolvedProduct->setupRunEnvironment(&d->engine, env); |