fixed ce makefileenvironment

XQMakeSpec is not available after configure
but the QMakeSpec contains the correct value

Change-Id: I6cd4da8b0d6c95565f31842c17611ffd361bc010
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
This commit is contained in:
Bjoern Breitmeyer 2012-07-05 15:20:50 +02:00 committed by Qt by Nokia
parent c27d78f6b0
commit e7b28bce3b

View File

@ -79,9 +79,7 @@ NmakeMakefileGenerator::writeMakefile(QTextStream &t)
#endif
if (!project->isHostBuild()) {
const QHash<QString, QStringList> &variables = project->variables();
if (variables.contains("XQMAKESPEC")
&& !variables["XQMAKESPEC"].isEmpty()
&& variables["XQMAKESPEC"].first().contains("wince", Qt::CaseInsensitive)) {
if (variables["QMAKESPEC"].first().contains("wince", Qt::CaseInsensitive)) {
CeSdkHandler sdkhandler;
sdkhandler.parse();
const QString sdkName = variables["CE_SDK"].join(" ")