forked from qt-creator/qt-creator
CppTools: Move QtVersion and BuildTargetType
QtVersion to utils/cpplanguage_details.h which already contains similar flags. BuildTargetType to ProjectExplorer, next to BuildTargetInfo (but not in the same header to not pull that in everywhere). Removes dependency on ProjectPart from RawProjectPart. Change-Id: I5791065e4266f20c2657ee4b1b594df04b238a1c Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
@@ -100,7 +100,7 @@ void RawProjectPart::setCallGroupId(const QString &id)
|
||||
callGroupId = id;
|
||||
}
|
||||
|
||||
void RawProjectPart::setQtVersion(ProjectPart::QtVersion qtVersion)
|
||||
void RawProjectPart::setQtVersion(Utils::QtVersion qtVersion)
|
||||
{
|
||||
this->qtVersion = qtVersion;
|
||||
}
|
||||
@@ -143,7 +143,7 @@ void RawProjectPart::setFlagsForCxx(const RawProjectPartFlags &flags)
|
||||
flagsForCxx = flags;
|
||||
}
|
||||
|
||||
void RawProjectPart::setBuildTargetType(ProjectPart::BuildTargetType type)
|
||||
void RawProjectPart::setBuildTargetType(ProjectExplorer::BuildTargetType type)
|
||||
{
|
||||
buildTargetType = type;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user