forked from qt-creator/qt-creator
ProjectExplorer: Remove ProjectConfiguration base from Target
Targets are different from {Run,Build,Deployment}Configurations,
both regarding the level in the ProjectExplorer hierarchy, and
also by the set of supported operations (e.g. aspects).
Change-Id: Ia8490e2280a9ecc518395c5e48ce2fd5d6d58fd2
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -92,11 +92,7 @@ ProjectConfiguration::ProjectConfiguration(QObject *parent, Core::Id id)
|
||||
if (m_target != nullptr)
|
||||
break;
|
||||
}
|
||||
|
||||
// FIXME: Below triggers on 'real' Targets with this here a base class as it's
|
||||
// not a real Target at this point of time. Plan is to cut this dependency and
|
||||
// enable the check, for now the item is set manually in the Target ctor.
|
||||
// QTC_CHECK(m_target);
|
||||
QTC_CHECK(m_target);
|
||||
}
|
||||
|
||||
ProjectConfiguration::~ProjectConfiguration() = default;
|
||||
|
||||
Reference in New Issue
Block a user