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>
This commit is contained in:
Christian Kandeler
2018-05-11 16:02:36 +02:00
parent f615c9aa42
commit b67db8bc22

View File

@@ -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);