summaryrefslogtreecommitdiffstats
path: root/mkspecs/features
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2012-03-09 19:11:54 +0100
committerQt by Nokia <qt-info@nokia.com>2012-03-09 20:43:00 +0100
commitd4db23eb4d9113338ead0ed5f1c5b788681d8f43 (patch)
tree53256ddbdb0a6f93db01ec88204faa26f6bd4150 /mkspecs/features
parent65a9c12733e0d7151dca1862c176fc6f47fce7f5 (diff)
another attempt at solving the popping up of .qmake.cache problem
syncqt may generate that file also as a result of configure tests. so just check for the file's existence instead of trying to reproduce under which circumstances it should appear. Change-Id: Ia24f96b05fc70e104f7be19d08cea614ffb505be Reviewed-by: Marius Storm-Olsen <marius.storm-olsen@nokia.com>
Diffstat (limited to 'mkspecs/features')
-rw-r--r--mkspecs/features/default_pre.prf2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/features/default_pre.prf b/mkspecs/features/default_pre.prf
index 5d8684bf00..c3776c4da5 100644
--- a/mkspecs/features/default_pre.prf
+++ b/mkspecs/features/default_pre.prf
@@ -48,7 +48,7 @@ CONFIG = lex yacc warn_on debug uic resources $$CONFIG
}
# Let qmake know about the unexpectedly appearing cache file.
- contains(QTFWD, -cache-module-fwd):_QMAKE_CACHE_ = $$QMAKE_SYNCQT_OUTDIR/.qmake.cache
+ exists($$QMAKE_SYNCQT_OUTDIR/.qmake.cache):_QMAKE_CACHE_ = $$QMAKE_SYNCQT_OUTDIR/.qmake.cache
unset(QTFWD)
unset(PRO_BASENAME)