Fix logic to handle symbian special case

Reviewed-by: Roberto Raggi
This commit is contained in:
Tobias Hunger
2010-04-01 11:32:53 +02:00
parent 49416fe888
commit 745dc1c8a0

View File

@@ -180,8 +180,8 @@ Qt4Target *Qt4TargetFactory::create(ProjectExplorer::Project *parent, const QStr
displayName.append((info.buildConfig & QtVersion::DebugBuild) ? tr("Debug") : tr("Release")); displayName.append((info.buildConfig & QtVersion::DebugBuild) ? tr("Debug") : tr("Release"));
// Skip release builds for the symbian emulator. // Skip release builds for the symbian emulator.
if (id != QLatin1String(Constants::S60_EMULATOR_TARGET_ID) && if (id == QLatin1String(Constants::S60_EMULATOR_TARGET_ID) &&
!(info.buildConfig | QtVersion::DebugBuild)) !(info.buildConfig & QtVersion::DebugBuild))
continue; continue;
t->addQt4BuildConfiguration(displayName, info.version, info.buildConfig, info.additionalArguments, info.directory); t->addQt4BuildConfiguration(displayName, info.version, info.buildConfig, info.additionalArguments, info.directory);