forked from qt-creator/qt-creator
QmakeProject: Make QMakeBuildConfiguration less visible
... in QmakeMakeStep interface. Change-Id: I19bfa0470dc709d79563640bc4dc4f7fc0d5d8f3 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -64,14 +64,9 @@ QmakeMakeStep::QmakeMakeStep(BuildStepList *bsl)
|
||||
}
|
||||
}
|
||||
|
||||
QmakeBuildConfiguration *QmakeMakeStep::qmakeBuildConfiguration() const
|
||||
{
|
||||
return static_cast<QmakeBuildConfiguration *>(buildConfiguration());
|
||||
}
|
||||
|
||||
bool QmakeMakeStep::init()
|
||||
{
|
||||
QmakeBuildConfiguration *bc = qmakeBuildConfiguration();
|
||||
const auto bc = static_cast<QmakeBuildConfiguration *>(buildConfiguration());
|
||||
if (!bc)
|
||||
emit addTask(Task::buildConfigurationMissingTask());
|
||||
|
||||
|
@@ -30,9 +30,6 @@
|
||||
#include <projectexplorer/makestep.h>
|
||||
|
||||
namespace QmakeProjectManager {
|
||||
|
||||
class QmakeBuildConfiguration;
|
||||
|
||||
namespace Internal {
|
||||
|
||||
class QmakeMakeStepFactory : public ProjectExplorer::BuildStepFactory
|
||||
@@ -52,8 +49,6 @@ class QMAKEPROJECTMANAGER_EXPORT QmakeMakeStep : public ProjectExplorer::MakeSte
|
||||
public:
|
||||
explicit QmakeMakeStep(ProjectExplorer::BuildStepList *bsl);
|
||||
|
||||
QmakeBuildConfiguration *qmakeBuildConfiguration() const;
|
||||
|
||||
private:
|
||||
void finish(bool success) override;
|
||||
bool init() override;
|
||||
|
Reference in New Issue
Block a user