forked from qt-creator/qt-creator
Remove QBS_INSTALL_ROOT env var. This is no longer needed by Qbs.
Change-Id: Idcf6d0ceffb35a2c3a28dbfb3757b8ca04133a15 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
This commit is contained in:
@@ -329,7 +329,6 @@ void QbsRunConfiguration::addToBaseEnvironment(Utils::Environment &env) const
|
|||||||
const qbs::ProductData product = findProduct(project->qbsProjectData(), m_uniqueProductName);
|
const qbs::ProductData product = findProduct(project->qbsProjectData(), m_uniqueProductName);
|
||||||
if (product.isValid()) {
|
if (product.isValid()) {
|
||||||
QProcessEnvironment procEnv = env.toProcessEnvironment();
|
QProcessEnvironment procEnv = env.toProcessEnvironment();
|
||||||
procEnv.insert(QLatin1String("QBS_INSTALL_ROOT"), installRoot());
|
|
||||||
procEnv.insert(QLatin1String("QBS_RUN_FILE_PATH"), executable());
|
procEnv.insert(QLatin1String("QBS_RUN_FILE_PATH"), executable());
|
||||||
qbs::RunEnvironment qbsRunEnv = project->qbsProject().getRunEnvironment(product, installOptions(),
|
qbs::RunEnvironment qbsRunEnv = project->qbsProject().getRunEnvironment(product, installOptions(),
|
||||||
procEnv, QbsManager::settings());
|
procEnv, QbsManager::settings());
|
||||||
|
Reference in New Issue
Block a user