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>
This commit is contained in:
Oswald Buddenhagen 2012-03-09 19:11:54 +01:00 committed by Qt by Nokia
parent 65a9c12733
commit d4db23eb4d

View File

@ -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)