From 43663bc87daed85a3da7f2cfcbea26a5f1ead8dd Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Mon, 30 Jan 2012 20:14:29 +0100 Subject: 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 Reviewed-by: Joerg Bornemann --- qmake/project.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'qmake/project.cpp') 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. -- cgit v1.2.3