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