summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2013-06-03 21:59:27 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-08-26 23:55:31 +0200
commit542aaa471d2c2b5be3fe613cb00568ff82d144f3 (patch)
tree70f6c4e570571ed22a3fdd549633a72530c2238d
parent4c9c52547242ba0bc8d412e7da8f7ff88d76b494 (diff)
downloadqttools-542aaa471d2c2b5be3fe613cb00568ff82d144f3.tar.gz
make .qmake.{super,cache,conf} find "anchored" features
these files function as "anchors" for mkspecs/ and features/ directories used by projects which load these files. ironically, these files didn't see these feature files themselves. Change-Id: I590855eb4a9d2c72b9abfcaa431d2f85a719c6e2 (cherry picked from qtbase/7456dfb4552c4e4f900af9fa8923828a23737280) Reviewed-by: Daniel Teske <daniel.teske@digia.com>
-rw-r--r--src/linguist/shared/qmakeevaluator.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/linguist/shared/qmakeevaluator.cpp b/src/linguist/shared/qmakeevaluator.cpp
index 05cd204d2..48e4f248f 100644
--- a/src/linguist/shared/qmakeevaluator.cpp
+++ b/src/linguist/shared/qmakeevaluator.cpp
@@ -1178,6 +1178,8 @@ bool QMakeEvaluator::loadSpec()
{
QMakeEvaluator evaluator(m_option, m_parser, m_vfs, m_handler);
+ evaluator.m_sourceRoot = m_sourceRoot;
+ evaluator.m_buildRoot = m_buildRoot;
if (!m_superfile.isEmpty()) {
valuesRef(ProKey("_QMAKE_SUPER_CACHE_")) << ProString(m_superfile);
if (evaluator.evaluateFile(