Commit 3c34649a authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Make sure to not add debug BCs twice

Reviewed-by: Roberto Raggi
parent 745dc1c8
......@@ -215,8 +215,9 @@ bool TargetSetupPage::setupProject(Qt4ProjectManager::Qt4Project *project)
const ImportInfo &info = m_infos.at(child->data(0, Qt::UserRole).toInt());
targetInfos.append(BuildConfigurationInfo(info.version, QtVersion::QmakeBuildConfigs(info.buildConfig | QtVersion::DebugBuild),
info.additionalArguments, info.directory));
if ((info.buildConfig | QtVersion::DebugBuild) != info.buildConfig)
targetInfos.append(BuildConfigurationInfo(info.version, QtVersion::QmakeBuildConfigs(info.buildConfig | QtVersion::DebugBuild),
info.additionalArguments, info.directory));
targetInfos.append(BuildConfigurationInfo(info.version, info.buildConfig,
info.additionalArguments, info.directory));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment