forked from qt-creator/qt-creator
QbsProjectManager: Fix "equivalent command line" contents
- We forgot to adapt to the introduction of the "config" key. - The space character was missing before the QML debugging property. Task-number: QTCREATORBUG-20024 Change-Id: Ie4a94a04989caa14b1ddc11c8595d679d1871625 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
@@ -372,7 +372,7 @@ QString QbsBuildConfiguration::equivalentCommandLine(const BuildStep *buildStep)
|
||||
const QString profileName = QbsManager::instance()->profileForKit(buildStep->target()->kit());
|
||||
const QString buildVariant = qbsConfiguration()
|
||||
.value(QLatin1String(Constants::QBS_CONFIG_VARIANT_KEY)).toString();
|
||||
Utils::QtcProcess::addArg(&commandLine, configurationName());
|
||||
Utils::QtcProcess::addArg(&commandLine, QLatin1String("config:") + configurationName());
|
||||
Utils::QtcProcess::addArg(&commandLine, QLatin1String(Constants::QBS_CONFIG_VARIANT_KEY)
|
||||
+ QLatin1Char(':') + buildVariant);
|
||||
const Utils::FileName installRoot = stepProxy.installRoot();
|
||||
|
@@ -634,7 +634,7 @@ void QbsBuildStepConfigWidget::updateState()
|
||||
}
|
||||
|
||||
if (m_step->isQmlDebuggingEnabled())
|
||||
command.append(Constants::QBS_CONFIG_QUICK_DEBUG_KEY).append(":true");
|
||||
command.append(' ').append(Constants::QBS_CONFIG_QUICK_DEBUG_KEY).append(":true");
|
||||
m_ui->commandLineTextEdit->setPlainText(command);
|
||||
|
||||
QString summary = tr("<b>Qbs:</b> %1").arg(command);
|
||||
|
Reference in New Issue
Block a user