Commit dc5e37da authored by dt's avatar dt
Browse files

Qt4ProjectManager: qmakestep saner target check

Reviewed-By: hunger
parent 7d926b47
......@@ -146,8 +146,7 @@ QStringList QMakeStep::moreArguments()
if (type == ProjectExplorer::ToolChain_GCC_MAEMO)
arguments << QLatin1String("-unix");
if (bc->target()->id() == Constants::S60_DEVICE_TARGET_ID
|| bc->target()->id() == Constants::S60_EMULATOR_TARGET_ID) {
if (!bc->qtVersion()->supportsShadowBuilds()) {
// We have a target which does not allow shadow building.
// But we really don't want to have the build artefacts in the source dir
// so we try to hack around it, to make the common cases work.
Supports Markdown
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