Unification of desktop run configurations, step 1

First step, move {DesktopQt,Qbs,CMake}RunConfiguration{,Factory}
into the same new files.

This only moves down to QtSupport, not ProjectExplorer, as there
are in all three cases direct dependencies on QtSupport. Long term
I would expect them to move further down.

Change-Id: Ib16b19df7f3f642ed7f7db89a1f6904601d976ba
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2019-08-06 16:50:30 +02:00
parent 2521023627
commit 07a918c89a
26 changed files with 412 additions and 606 deletions

View File

@@ -40,13 +40,15 @@ class CommandLine;
class PathChooser;
} // Utils
namespace ProjectExplorer { class ToolChain; }
namespace ProjectExplorer {
class RunConfiguration;
class ToolChain;
} // ProjectManager
namespace CMakeProjectManager {
namespace Internal {
class CMakeBuildConfiguration;
class CMakeRunConfiguration;
class CMakeBuildStepFactory;
class CMakeBuildStep : public ProjectExplorer::AbstractProcessStep
@@ -67,7 +69,7 @@ public:
QString toolArguments() const;
void setToolArguments(const QString &list);
Utils::CommandLine cmakeCommand(CMakeRunConfiguration *rc) const;
Utils::CommandLine cmakeCommand(ProjectExplorer::RunConfiguration *rc) const;
QVariantMap toMap() const override;
@@ -104,7 +106,6 @@ private:
void handleProjectWasParsed(bool success);
void handleBuildTargetChanges(bool success);
CMakeRunConfiguration *targetsActiveRunConfiguration() const;
QMetaObject::Connection m_runTrigger;