diff --git a/qmake/project.cpp b/qmake/project.cpp index 308aba00b4e..851534668b9 100644 --- a/qmake/project.cpp +++ b/qmake/project.cpp @@ -1306,6 +1306,7 @@ QMakeProject::read(uchar cmd) cache_depth = Option::output_dir.mid(abs_cache.length()).count('/'); } if(!qmake_cache.isEmpty()) { + QHash cache; if(read(qmake_cache, cache)) { Option::mkfile::cachefile_depth = cache_depth; Option::mkfile::cachefile = qmake_cache; diff --git a/qmake/project.h b/qmake/project.h index ac3b2aab7aa..823fa9c9d6c 100644 --- a/qmake/project.h +++ b/qmake/project.h @@ -84,7 +84,7 @@ class QMakeProject QString pfile, cfile; QMakeProperty *prop; void reset(); - QHash vars, base_vars, cache; + QHash vars, base_vars; bool parse(const QString &text, QHash &place, int line_count=1); enum IncludeStatus {