From 921f86dfa748468a8d7e6bb7787aed8fb8b53da9 Mon Sep 17 00:00:00 2001 From: Tobias Hunger Date: Tue, 13 Aug 2013 10:52:57 +0200 Subject: TargetSetupPage: Generalize the page Generalize the target setup page and move it into projectexplorer Move the qmake specific code into a projectimporter class with a specialization for qmake projects in the qt4projectmanager. This change depends heavily on the BuildConfigurationFactory cleanups done earlier and completes that change in such a way that generic build configuration factories are now in theory possible. The remaining problem is how to select the best factory of several that claim to be able to handle a kit and that is left for the next patch. Change-Id: I47134cb1938c52adebcdc1ddfe8dbf26abbbbeee Reviewed-by: Daniel Teske --- src/plugins/genericprojectmanager/genericbuildconfiguration.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/plugins/genericprojectmanager/genericbuildconfiguration.h') diff --git a/src/plugins/genericprojectmanager/genericbuildconfiguration.h b/src/plugins/genericprojectmanager/genericbuildconfiguration.h index 449b6d017a..aca2452d65 100644 --- a/src/plugins/genericprojectmanager/genericbuildconfiguration.h +++ b/src/plugins/genericprojectmanager/genericbuildconfiguration.h @@ -74,6 +74,9 @@ public: bool canCreate(const ProjectExplorer::Target *parent) const; QList availableBuilds(const ProjectExplorer::Target *parent) const; + bool canSetup(const ProjectExplorer::Kit *k, const QString &projectPath) const; + QList availableSetups(const ProjectExplorer::Kit *k, + const QString &projectPath) const; ProjectExplorer::BuildConfiguration *create(ProjectExplorer::Target *parent, const ProjectExplorer::BuildInfo *info) const; -- cgit v1.2.1