Commit cb079c53 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

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: default avatarTobias Hunger <tobias.hunger@digia.com>
parent c3f8346b
......@@ -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 ")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment