Qbs: Use BuildConfig data in Qbs install step

... in favor of qbs::ProductData which is harder to get anyway.

Not worth the trouble just to register the default value.

Change-Id: If597de246028a7eb0859a19b543e9ffe12b31db5
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
Tobias Hunger
2014-06-24 16:12:00 +02:00
parent c3f8346b9b
commit cb079c5319

View File

@@ -308,9 +308,7 @@ void QbsInstallStepConfigWidget::updateState()
m_ui->keepGoingCheckBox->setChecked(m_step->keepGoing());
}
const qbs::ProjectData data = static_cast<QbsProject *>(m_step->project())->qbsProjectData();
if (data.isValid())
m_ui->installRootChooser->setBaseDirectory(data.buildDirectory());
m_ui->installRootChooser->setBaseFileName(m_step->target()->activeBuildConfiguration()->buildDirectory());
QString command = QLatin1String("qbs install ");
command += QString::fromLatin1("--settings-dir ")