summaryrefslogtreecommitdiffstats
path: root/qmake/project.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qmake/project.cpp')
-rw-r--r--qmake/project.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/qmake/project.cpp b/qmake/project.cpp
index 61140e9acb..3379f452a3 100644
--- a/qmake/project.cpp
+++ b/qmake/project.cpp
@@ -1518,6 +1518,12 @@ QMakeProject::read(uchar cmd)
vars = base_vars; // start with the base
}
setupProject();
+ } else if (cmd & ReadFeatures) {
+ // Even when ReadSetup is not set, but ReadFeatures is,
+ // we still need to process spec_pre.prf to load some
+ // default values and other settings.
+ debug_msg(1, "Processing spec_pre (but skipping actual spec): %s", vars["CONFIG"].join("::").toLatin1().constData());
+ doProjectInclude("spec_pre", IncludeFlagFeature, vars);
}
for (QHash<QString, QStringList>::ConstIterator it = extra_vars.constBegin();