forked from qt-creator/qt-creator
ProjectExplorer: Assert a build config when retrieving install step
Some safety net for the future, triggered by the referenced task
which was already properly fixed by 01cc0e7499
.
Task-number: QTCREATORBUG-32064
Change-Id: If1d79a2ad6fa7dc208952528ed674523d1aaceb8
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -242,6 +242,7 @@ ExtraCompiler *BuildSystem::extraCompilerForTarget(const Utils::FilePath &target
|
||||
MakeInstallCommand BuildSystem::makeInstallCommand(const FilePath &installRoot) const
|
||||
{
|
||||
QTC_ASSERT(target()->project()->hasMakeInstallEquivalent(), return {});
|
||||
QTC_ASSERT(buildConfiguration(), return {});
|
||||
|
||||
BuildStepList *buildSteps = buildConfiguration()->buildSteps();
|
||||
QTC_ASSERT(buildSteps, return {});
|
||||
|
Reference in New Issue
Block a user