forked from qt-creator/qt-creator
Android: Set correct ANDROID_NDK_PLATFORM
Introduce the class AndroidQmakeBuildConfiguration whose purpose is to set the environment variable. Modify the Factory to create buildconfigurations of that type and fix restore/clone to also take the factories' priorities into account. Change-Id: Icb377fa9211cd3564c36b60cf7c5f7dd84fcab50 Reviewed-by: BogDan Vatra <bogdan@kde.org>
This commit is contained in:
@@ -617,6 +617,16 @@ void AndroidManifestEditorWidget::preSave()
|
||||
updateInfoBar();
|
||||
}
|
||||
|
||||
void AndroidManifestEditorWidget::postSave()
|
||||
{
|
||||
const QString docPath(m_textEditorWidget->textDocument()->filePath().toString());
|
||||
ProjectExplorer::Project *project = androidProject(docPath);
|
||||
if (Target *target = project->activeTarget()) {
|
||||
AndroidQtSupport *androidQtSupport = AndroidManager::androidQtSupport(target);
|
||||
androidQtSupport->manifestSaved(target);
|
||||
}
|
||||
}
|
||||
|
||||
Core::IEditor *AndroidManifestEditorWidget::editor() const
|
||||
{
|
||||
return m_editor;
|
||||
|
Reference in New Issue
Block a user