aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qbsprojectmanager/qbsbuildstep.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/qbsprojectmanager/qbsbuildstep.cpp')
-rw-r--r--src/plugins/qbsprojectmanager/qbsbuildstep.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/qbsprojectmanager/qbsbuildstep.cpp b/src/plugins/qbsprojectmanager/qbsbuildstep.cpp
index 4ac5f4721e..9846a4e056 100644
--- a/src/plugins/qbsprojectmanager/qbsbuildstep.cpp
+++ b/src/plugins/qbsprojectmanager/qbsbuildstep.cpp
@@ -36,6 +36,7 @@
#include "ui_qbsbuildstepconfigwidget.h"
+#include <coreplugin/icore.h>
#include <projectexplorer/buildsteplist.h>
#include <projectexplorer/kit.h>
#include <projectexplorer/projectexplorerconstants.h>
@@ -431,6 +432,8 @@ void QbsBuildStepConfigWidget::updateState()
m_ui->buildVariantComboBox->setCurrentIndex(idx);
QString command = QLatin1String("qbs build ");
+ command += QString::fromLatin1("--settings-dir ")
+ + QDir::toNativeSeparators(Core::ICore::userResourcePath()) + QLatin1String(" ");
if (m_step->dryRun())
command += QLatin1String("--dry-run ");
if (m_step->keepGoing())