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>
This commit is contained in:
parent
cd84491aad
commit
93b155a850
@ -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(' ')
|
||||
|
Loading…
Reference in New Issue
Block a user