Qt4PM: Correct shadow build support test

Change-Id: I376a05791f1a5e8e153e2266f81bfc85c73b9535
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
Orgad Shaneh
2012-06-25 09:29:59 +03:00
committed by Tobias Hunger
parent ccd2168219
commit 5585df4d7c

View File

@@ -228,7 +228,7 @@ QStringList QMakeStep::deducedArguments()
QStringList QMakeStep::deducedArgumentsAfter() QStringList QMakeStep::deducedArgumentsAfter()
{ {
QtSupport::BaseQtVersion *version = QtSupport::QtProfileInformation::qtVersion(target()->profile()); QtSupport::BaseQtVersion *version = QtSupport::QtProfileInformation::qtVersion(target()->profile());
if (version && version->supportsShadowBuilds()) { if (version && !version->supportsShadowBuilds()) {
// We have a target which does not allow shadow building. // 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 // 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. // so we try to hack around it, to make the common cases work.