forked from qt-creator/qt-creator
Incredibuild: Do not rely on metaobject classnames for build steps
The preferred interface are step ids, #include'ing other modules *constants.h header is considered ok for siblings in the core distribution and does not create run time dependencies between plugins. Change-Id: I0421936068b459c1aea61e23310f860d8ed1f0d4 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <projectexplorer/buildsteplist.h>
|
||||
#include <projectexplorer/buildstep.h>
|
||||
|
||||
#include <QCoreApplication>
|
||||
|
||||
@@ -40,7 +40,7 @@ public:
|
||||
CommandBuilder(ProjectExplorer::BuildStep *buildStep) : m_buildStep(buildStep) {}
|
||||
virtual ~CommandBuilder() = default;
|
||||
|
||||
virtual bool canMigrate(ProjectExplorer::BuildStepList*) { return false; }
|
||||
virtual QList<Utils::Id> migratableSteps() const { return {}; }
|
||||
|
||||
ProjectExplorer::BuildStep *buildStep() const { return m_buildStep; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user