summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/default_pre.prf
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2012-03-01 14:34:48 +0100
committerQt by Nokia <qt-info@nokia.com>2012-03-01 19:00:15 +0100
commit4494ddfec7e4a74ae1192eed25edf8e3ee294755 (patch)
treec182aaa0a41fc1817630826ad050eba729e82436 /mkspecs/features/default_pre.prf
parent2658a5201797dd413f26f97bc22e6366dcba5720 (diff)
make default_pro.prf advertize dynamically created .qmake.cache
moving the detection of .qmake.cache to the qmake startup had the side effect that a suddenly popping up cache would not be picked up by nested projects any more. this is not supposed to work in the first place, but the syncqt hack for building against non-installed modules relies on it. until we have cleaned that up properly, we need a way to notify qmake about the appearance of the cache file. Change-Id: I450646b936e3bb2ef2ed3aba05df58e521ccdc61 Reviewed-by: Marius Storm-Olsen <marius.storm-olsen@nokia.com>
Diffstat (limited to 'mkspecs/features/default_pre.prf')
-rw-r--r--mkspecs/features/default_pre.prf3
1 files changed, 3 insertions, 0 deletions
diff --git a/mkspecs/features/default_pre.prf b/mkspecs/features/default_pre.prf
index 1a56787d15..9e142f172d 100644
--- a/mkspecs/features/default_pre.prf
+++ b/mkspecs/features/default_pre.prf
@@ -48,4 +48,7 @@ CONFIG = lex yacc warn_on debug uic resources $$CONFIG
}
unset(QTFWD)
unset(PRO_BASENAME)
+
+ # Let qmake know about the unexpectedly appearing cache file.
+ _QMAKE_CACHE_ = $$QMAKE_SYNCQT_OUTDIR/.qmake.cache
}