export QMAKESPEC to the project

follow suit with qmake ...

Change-Id: Ib0de27394fc71d01a57eae770da55c5b5aa35f17
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
Oswald Buddenhagen
2012-07-05 10:56:04 +02:00
parent 267e572842
commit ce71932ca2

View File

@@ -1081,6 +1081,7 @@ bool QMakeEvaluator::loadSpec()
const ProString &orig_spec = first(ProString("QMAKESPEC_ORIGINAL"));
m_qmakespecFull = orig_spec.isEmpty() ? m_qmakespec : orig_spec.toQString();
#endif
valuesRef(ProString("QMAKESPEC")) << ProString(m_qmakespecFull, NoHash);
m_qmakespecName = IoUtils::fileName(m_qmakespecFull).toString();
if (!evaluateFeatureFile(QLatin1String("spec_post.prf")))
return false;