set QMAKE_INTERNAL_INCLUDED_FILES even without PROEVALUATOR_FULL
some qt prfs use this variable, so better set it it to avoid some noise. Change-Id: I606c88dd7664b1cd8b490d60badd5c6bf80fd1c9 Reviewed-by: Daniel Teske <daniel.teske@digia.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> (cherry picked from qtcreator/e64cc71194cbe283dfe9bd2cd688f01fcdcadf34) Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
This commit is contained in:
parent
bd57e86388
commit
ca02462f02
@ -1850,14 +1850,12 @@ QMakeEvaluator::VisitReturn QMakeEvaluator::evaluateFile(
|
||||
VisitReturn ok = visitProFile(pro, type, flags);
|
||||
m_current = m_locationStack.pop();
|
||||
pro->deref();
|
||||
#ifdef PROEVALUATOR_FULL
|
||||
if (ok == ReturnTrue && !(flags & LoadHidden)) {
|
||||
ProStringList &iif = m_valuemapStack.first()[ProKey("QMAKE_INTERNAL_INCLUDED_FILES")];
|
||||
ProString ifn(fileName);
|
||||
if (!iif.contains(ifn))
|
||||
iif << ifn;
|
||||
}
|
||||
#endif
|
||||
return ok;
|
||||
} else {
|
||||
return ReturnFalse;
|
||||
@ -1970,13 +1968,11 @@ QMakeEvaluator::VisitReturn QMakeEvaluator::evaluateFileInto(
|
||||
if (ret != ReturnTrue)
|
||||
return ret;
|
||||
*values = visitor.m_valuemapStack.top();
|
||||
#ifdef PROEVALUATOR_FULL
|
||||
ProKey qiif("QMAKE_INTERNAL_INCLUDED_FILES");
|
||||
ProStringList &iif = m_valuemapStack.first()[qiif];
|
||||
foreach (const ProString &ifn, values->value(qiif))
|
||||
if (!iif.contains(ifn))
|
||||
iif << ifn;
|
||||
#endif
|
||||
return ReturnTrue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user