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