summaryrefslogtreecommitdiffstats
path: root/qmake
diff options
context:
space:
mode:
Diffstat (limited to 'qmake')
-rw-r--r--qmake/project.cpp1
-rw-r--r--qmake/project.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/qmake/project.cpp b/qmake/project.cpp
index 308aba00b4..851534668b 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<QString, QStringList> 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 ac3b2aab7a..823fa9c9d6 100644
--- a/qmake/project.h
+++ b/qmake/project.h
@@ -84,7 +84,7 @@ class QMakeProject
QString pfile, cfile;
QMakeProperty *prop;
void reset();
- QHash<QString, QStringList> vars, base_vars, cache;
+ QHash<QString, QStringList> vars, base_vars;
bool parse(const QString &text, QHash<QString, QStringList> &place, int line_count=1);
enum IncludeStatus {