summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@digia.com>2013-02-12 10:04:06 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-02-13 12:42:40 +0100
commit93b155a8508d5a47e8cd8628940f93fc6335c24c (patch)
tree69028d0f73bd90436fcf8a57981931208e254417
parentcd84491aad703f7b983a3d61277a27998e53396a (diff)
fix check for Windows CE platform
We don't have to do fuzzy mkspec name searches anymore. The WinCE mkspecs add "wince" to QMAKE_PLATFORM which ends up in CONFIG. Change-Id: I6c0576b5504beb416e95eeae0dec579b16b84746 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
-rw-r--r--qmake/generators/win32/msvc_nmake.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qmake/generators/win32/msvc_nmake.cpp b/qmake/generators/win32/msvc_nmake.cpp
index 5a077874d4..263988cd30 100644
--- a/qmake/generators/win32/msvc_nmake.cpp
+++ b/qmake/generators/win32/msvc_nmake.cpp
@@ -79,7 +79,7 @@ NmakeMakefileGenerator::writeMakefile(QTextStream &t)
#endif
if (!project->isHostBuild()) {
const ProValueMap &variables = project->variables();
- if (variables["QMAKESPEC"].first().contains("wince", Qt::CaseInsensitive)) {
+ if (project->isActiveConfig("wince")) {
CeSdkHandler sdkhandler;
sdkhandler.parse();
const QString sdkName = variables["CE_SDK"].join(' ')