ProjectExplorer: Introduce and use a Target::buildSystemUpdated signal

Change-Id: I497d46866146600a1ed9162bd720c574ee4d4769
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2019-11-15 15:44:45 +01:00
parent 738bbf1a87
commit c2127c9ec4
21 changed files with 52 additions and 38 deletions

View File

@@ -31,6 +31,7 @@
#include "androidmanager.h"
#include "adbcommandswidget.h"
#include <projectexplorer/buildsystem.h>
#include <projectexplorer/kitinformation.h>
#include <projectexplorer/project.h>
#include <projectexplorer/target.h>
@@ -132,7 +133,7 @@ AndroidRunConfiguration::AndroidRunConfiguration(Target *target, Core::Id id)
postStartShellCmdAspect->setSettingsKey("Android.PostStartShellCmdListKey");
postStartShellCmdAspect->setLabel(tr("Shell commands to run on Android device after application quits."));
connect(target, &Target::parsingFinished, this, [this] {
connect(target, &Target::buildSystemUpdated, this, [this] {
updateTargetInformation();
AndroidManager::updateGradleProperties(this->target(), buildKey());
});