forked from qt-creator/qt-creator
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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user