From 5585df4d7c569fae83540aee04490dec82d53c18 Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Mon, 25 Jun 2012 09:29:59 +0300 Subject: [PATCH] Qt4PM: Correct shadow build support test Change-Id: I376a05791f1a5e8e153e2266f81bfc85c73b9535 Reviewed-by: Tobias Hunger --- src/plugins/qt4projectmanager/qmakestep.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/qt4projectmanager/qmakestep.cpp b/src/plugins/qt4projectmanager/qmakestep.cpp index c6a77e2ed91..f4c39e9f643 100644 --- a/src/plugins/qt4projectmanager/qmakestep.cpp +++ b/src/plugins/qt4projectmanager/qmakestep.cpp @@ -228,7 +228,7 @@ QStringList QMakeStep::deducedArguments() QStringList QMakeStep::deducedArgumentsAfter() { 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. // 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.