summaryrefslogtreecommitdiffstats
path: root/qmake
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2012-01-30 20:14:29 +0100
committerQt by Nokia <qt-info@nokia.com>2012-07-03 16:48:33 +0200
commit43663bc87daed85a3da7f2cfcbea26a5f1ead8dd (patch)
treefecdd2d7e0dbe89b8e5da4cbd82134248b29a14a /qmake
parent0002464b46f3b42218933377d545e49fef65aa51 (diff)
export QMAKESPEC to the project
this makes it unnecessary to dump qmakespec to .qmake.cache and qmodule.pri. Task-number: QTBUG-22700 Change-Id: I678c7ee7df2512184b9cd06d7a3be8bbd0b0da15 Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
Diffstat (limited to 'qmake')
-rw-r--r--qmake/project.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qmake/project.cpp b/qmake/project.cpp
index 650635e993..38f8028b30 100644
--- a/qmake/project.cpp
+++ b/qmake/project.cpp
@@ -1491,6 +1491,7 @@ QMakeProject::read(uchar cmd)
QString orig_spec = first(QLatin1String("QMAKESPEC_ORIGINAL"));
real_spec = orig_spec.isEmpty() ? qmakespec : orig_spec;
#endif
+ vars["QMAKESPEC"] << real_spec;
short_spec = QFileInfo(real_spec).fileName();
doProjectInclude("spec_post", IncludeFlagFeature, vars);
// The spec extends the feature search path, so invalidate the cache.