diff options
author | Christian Kandeler <christian.kandeler@theqtcompany.com> | 2016-06-27 16:16:47 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@theqtcompany.com> | 2016-06-30 11:35:29 +0000 |
commit | 700239c681d7a28f00b5eb0ae7330be8eceb9ae2 (patch) | |
tree | dccccb2de7b47f6611f3e1f49e2d26af480e542a | |
parent | 23b3bb5814b5b275abb439ce54515def69dde0c1 (diff) | |
download | qt-creator-700239c681d7a28f00b5eb0ae7330be8eceb9ae2.tar.gz |
Update qbs submodule.
To HEAD of master branch. Plus some necessary adaptations due to API
change.
Change-Id: I906918223de3946ae532ae4042c2545dd53b66cc
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
-rw-r--r-- | src/plugins/qbsprojectmanager/qbsbuildconfiguration.cpp | 12 | ||||
-rw-r--r-- | src/plugins/qbsprojectmanager/qbsbuildstep.cpp | 1 | ||||
-rw-r--r-- | src/plugins/qbsprojectmanager/qbsprojectparser.cpp | 5 | ||||
m--------- | src/shared/qbs | 0 |
4 files changed, 12 insertions, 6 deletions
diff --git a/src/plugins/qbsprojectmanager/qbsbuildconfiguration.cpp b/src/plugins/qbsprojectmanager/qbsbuildconfiguration.cpp index b6403c0f40..2ce88634ba 100644 --- a/src/plugins/qbsprojectmanager/qbsbuildconfiguration.cpp +++ b/src/plugins/qbsprojectmanager/qbsbuildconfiguration.cpp @@ -309,12 +309,16 @@ QString QbsBuildConfiguration::equivalentCommandLine(const BuildStep *buildStep) << installRoot); } + const QString profileName = QbsManager::instance()->profileForKit(buildStep->target()->kit()); if (buildConfig) { - Utils::QtcProcess::addArg(&commandLine, buildConfig->qbsConfiguration() - .value(QLatin1String(Constants::QBS_CONFIG_VARIANT_KEY)).toString()); + const QString buildVariant = buildConfig->qbsConfiguration() + .value(QLatin1String(Constants::QBS_CONFIG_VARIANT_KEY)).toString(); + const QString configName = profileName + QLatin1Char('-') + buildVariant; + Utils::QtcProcess::addArg(&commandLine, configName); + Utils::QtcProcess::addArg(&commandLine, QLatin1String(Constants::QBS_CONFIG_VARIANT_KEY) + + QLatin1Char(':') + buildVariant); } - Utils::QtcProcess::addArg(&commandLine, QLatin1String("profile:") - + QbsManager::instance()->profileForKit(buildStep->target()->kit())); + Utils::QtcProcess::addArg(&commandLine, QLatin1String("profile:") + profileName); return commandLine; } diff --git a/src/plugins/qbsprojectmanager/qbsbuildstep.cpp b/src/plugins/qbsprojectmanager/qbsbuildstep.cpp index 20221d42a9..1c12b1aad2 100644 --- a/src/plugins/qbsprojectmanager/qbsbuildstep.cpp +++ b/src/plugins/qbsprojectmanager/qbsbuildstep.cpp @@ -576,6 +576,7 @@ void QbsBuildStepConfigWidget::updatePropertyEdit(const QVariantMap &data) editable.remove(QLatin1String(Constants::QBS_CONFIG_VARIANT_KEY)); editable.remove(QLatin1String(Constants::QBS_CONFIG_DECLARATIVE_DEBUG_KEY)); editable.remove(QLatin1String(Constants::QBS_CONFIG_QUICK_DEBUG_KEY)); + editable.remove(QLatin1String(Constants::QBS_FORCE_PROBES_KEY)); QStringList propertyList; for (QVariantMap::const_iterator i = editable.constBegin(); i != editable.constEnd(); ++i) diff --git a/src/plugins/qbsprojectmanager/qbsprojectparser.cpp b/src/plugins/qbsprojectmanager/qbsprojectparser.cpp index d823ddeb46..6edbe16910 100644 --- a/src/plugins/qbsprojectmanager/qbsprojectparser.cpp +++ b/src/plugins/qbsprojectmanager/qbsprojectparser.cpp @@ -86,8 +86,9 @@ void QbsProjectParser::parse(const QVariantMap &config, const Environment &env, QString specialKey = QLatin1String(Constants::QBS_CONFIG_PROFILE_KEY); const QString profileName = userConfig.take(specialKey).toString(); params.setTopLevelProfile(profileName); - specialKey = QLatin1String(Constants::QBS_CONFIG_VARIANT_KEY); - params.setBuildVariant(userConfig.take(specialKey).toString()); + const QString buildVariantKey = QLatin1String(Constants::QBS_CONFIG_VARIANT_KEY); + const QString buildVariant = userConfig.value(buildVariantKey).toString(); + params.setConfigurationName(profileName + QLatin1Char('-') + buildVariant); specialKey = QLatin1String(Constants::QBS_FORCE_PROBES_KEY); params.setForceProbeExecution(userConfig.take(specialKey).toBool()); params.setSettingsDirectory(QbsManager::settings()->baseDirectory()); diff --git a/src/shared/qbs b/src/shared/qbs -Subproject 1a103f7a90b51022aa10da228deb566cd7b446c +Subproject 129e7a8ab1edfb583157db6050ab3f1bd426279 |