IRunConfiguration: Remove BuildTargetInfo from the RC factory APIs

Change-Id: I1d77d22a1c1ce1cbcfca8af7855ae7b935ac1c2c
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Tobias Hunger
2018-01-19 15:02:02 +01:00
parent 796da44fee
commit e1409ae50f
28 changed files with 138 additions and 153 deletions

View File

@@ -271,13 +271,12 @@ public:
addSupportedProjectType(PythonProjectId);
}
QList<BuildTargetInfo> availableBuildTargets(Target *parent, CreationMode mode) const override
QList<RunConfigurationCreationInfo> availableCreators(Target *parent,
CreationMode mode) const override
{
Q_UNUSED(mode);
return Utils::transform(parent->project()->files(Project::AllFiles), [](const FileName &fn) {
BuildTargetInfo bti;
bti.targetName = fn.toString();
return bti;
return Utils::transform(parent->project()->files(Project::AllFiles),[this](const FileName &fn) {
return convert(fn.toString(), fn.toString());
});
}