aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2018-05-11 16:02:36 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2018-05-11 15:55:14 +0000
commitb67db8bc221a9b2a413cf9748ab0239a17ccb683 (patch)
tree3f69076925e5d1778e3247f1d0a797ad8203b60e /src
parentf615c9aa427f3e55f2df9e85af2209636b649ac6 (diff)
QbsProjectManager: Don't turn on QML debugging in release mode
By default, that setting should not be enabled in release mode. That's also how the QmakeProjectManager behaves. Change-Id: Ifc5ed93b37b3f3f13ee19c5072f327794ea88144 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/qbsprojectmanager/qbsbuildconfiguration.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/qbsprojectmanager/qbsbuildconfiguration.cpp b/src/plugins/qbsprojectmanager/qbsbuildconfiguration.cpp
index ce2b764d3b..d80a64fb4b 100644
--- a/src/plugins/qbsprojectmanager/qbsbuildconfiguration.cpp
+++ b/src/plugins/qbsprojectmanager/qbsbuildconfiguration.cpp
@@ -109,6 +109,8 @@ void QbsBuildConfiguration::initialize(const BuildInfo *info)
BuildStepList *buildSteps = stepList(ProjectExplorer::Constants::BUILDSTEPS_BUILD);
auto bs = new QbsBuildStep(buildSteps);
+ if (info->buildType == Release)
+ bs->setQmlDebuggingEnabled(false);
bs->setQbsConfiguration(bd);
buildSteps->appendStep(bs);