bool BaseQtVersion::isValid() const
{
- if(uniqueId() == -1 || displayName().isEmpty())
+ if (uniqueId() == -1 || displayName().isEmpty())
return false;
updateVersionInfo();
updateMkspec();
{
QStringList configValues = evaluator->values("CONFIG");
m_defaultConfigIsDebugAndRelease = false;
- foreach(const QString &value, configValues) {
+ foreach (const QString &value, configValues) {
if (value == "debug")
m_defaultConfigIsDebug = true;
else if (value == "release")
infos.append(BuildConfigurationInfo(qtVersion, config, QString(), QString()));
infos.append(BuildConfigurationInfo(qtVersion, config ^ BaseQtVersion::DebugBuild, QString(), QString()));
} else {
- if(config & BaseQtVersion::DebugBuild)
+ if (config & BaseQtVersion::DebugBuild)
infos.append(BuildConfigurationInfo(qtVersion, config, QString(), QString()));
else
infos.append(BuildConfigurationInfo(qtVersion, config ^ BaseQtVersion::DebugBuild, QString(), QString()));
return false;
if (!m_validSystemRoot)
return false;
- if(isBuildWithSymbianSbsV2() && (m_sbsV2Directory.isEmpty() || !QFileInfo(m_sbsV2Directory + QLatin1String("/sbs")).exists()))
+ if (isBuildWithSymbianSbsV2() && (m_sbsV2Directory.isEmpty() || !QFileInfo(m_sbsV2Directory + QLatin1String("/sbs")).exists()))
return false;
return true;
}
predefinedMacros = tc->predefinedMacros();
QList<HeaderPath> headers = tc->systemHeaderPaths();
- if (activeBC->qtVersion())
+ if (activeBC->qtVersion())
headers.append(activeBC->qtVersion()->systemHeaderPathes());
foreach (const HeaderPath &headerPath, headers) {
if (headerPath.kind() == HeaderPath::FrameworkHeaderPath)
, m_configurationWidget(0)
{
// Initialize m_versions
- foreach(BaseQtVersion *version, versions)
+ foreach (BaseQtVersion *version, versions)
m_versions.push_back(version->clone());
QWidget *versionInfoWidget = new QWidget();
QList<BaseQtVersion *> QtVersionManager::validVersions() const
{
QList<BaseQtVersion *> results;
- foreach(BaseQtVersion *v, m_versions) {
+ foreach (BaseQtVersion *v, m_versions) {
if (v->isValid())
results.append(v);
}
BaseQtVersion *QtVersionManager::qtVersionForQMakeBinary(const QString &qmakePath)
{
- foreach(BaseQtVersion *version, versions()) {
+ foreach (BaseQtVersion *version, versions()) {
if (version->qmakeCommand() == qmakePath) {
return version;
break;