forked from qt-creator/qt-creator
Qt4PM: Correct shadow build support test
Change-Id: I376a05791f1a5e8e153e2266f81bfc85c73b9535 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
committed by
Tobias Hunger
parent
ccd2168219
commit
5585df4d7c
@@ -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.
|
||||||
|
Reference in New Issue
Block a user