forked from qt-creator/qt-creator
BuildInfo: Add BuildConfiguration::BuildType
Remove QbsBuildInfo, which only adds the same information over the normal BuildInfo. Change QmakeBuildInfo to use the buildType as provided by its base class. Change-Id: Iddb86487c85893988f78bbfaf549823a19f13b5b Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com> Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
@@ -220,10 +220,10 @@ QList<BuildInfo *> QmakeProjectImporter::import(const FileName &importPath, bool
|
||||
QmakeBuildInfo *info = new QmakeBuildInfo(factory);
|
||||
BaseQtVersion::QmakeBuildConfigs buildConfig = parse.effectiveBuildConfig(version->defaultBuildConfig());
|
||||
if (buildConfig & BaseQtVersion::DebugBuild) {
|
||||
info->type = BuildConfiguration::Debug;
|
||||
info->buildType = BuildConfiguration::Debug;
|
||||
info->displayName = QCoreApplication::translate("QmakeProjectManager::Internal::QmakeProjectImporter", "Debug");
|
||||
} else {
|
||||
info->type = BuildConfiguration::Release;
|
||||
info->buildType = BuildConfiguration::Release;
|
||||
info->displayName = QCoreApplication::translate("QmakeProjectManager::Internal::QmakeProjectImporter", "Release");
|
||||
}
|
||||
info->kitId = k->id();
|
||||
|
||||
Reference in New Issue
Block a user