forked from qt-creator/qt-creator
Android: warn about essential packages not found
Task-number: QTCREATORBUG-23829 Change-Id: Ic3ebd606bfde48b0f7152869a437f2f711ce1d03 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -169,6 +169,13 @@ void AndroidSdkManagerWidget::setSdkManagerControlsEnabled(bool enable)
|
||||
void AndroidSdkManagerWidget::installEssentials()
|
||||
{
|
||||
m_sdkModel->selectMissingEssentials();
|
||||
if (!m_sdkModel->missingEssentials().isEmpty()) {
|
||||
QMessageBox::warning(this,
|
||||
tr("Android SDK Changes"),
|
||||
tr("Qt Creator couldn't find the following essential packages: \"%1\".\n"
|
||||
"Install them manually after the current operation is done.\n")
|
||||
.arg(m_sdkModel->missingEssentials().join("\", \"")));
|
||||
}
|
||||
m_ui->applySelectionButton->click();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user