diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2009-12-09 16:22:06 (GMT) |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2010-02-01 17:21:50 (GMT) |
commit | 55ca7d36d35c8ecac27b6866f40a5f2de799debd (patch) | |
tree | 9874492063adcedc8e29104ed0fb8b0e4490b46a /qmake/generators/symbian/symmake_sbsv2.cpp | |
parent | bbe1a089c43f0b706d33bb08fbeae256b6e34d30 (diff) | |
download | Qt-55ca7d36d35c8ecac27b6866f40a5f2de799debd.zip Qt-55ca7d36d35c8ecac27b6866f40a5f2de799debd.tar.gz Qt-55ca7d36d35c8ecac27b6866f40a5f2de799debd.tar.bz2 |
qmake: use isActiveConfig() instead of hand-crafting comparisons
ensures consistent handling of CONFIG values.
this is incompatible with 4.6.1, as it removes case-insentitivity from
some of the config keys, but those pro files wouldn't be portable beyond
symbian anyway, and symbian compatibility guarantees start with 4.6.2.
Reviewed-by: mariusSO
Diffstat (limited to 'qmake/generators/symbian/symmake_sbsv2.cpp')
-rw-r--r-- | qmake/generators/symbian/symmake_sbsv2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qmake/generators/symbian/symmake_sbsv2.cpp b/qmake/generators/symbian/symmake_sbsv2.cpp index 5adf30d..e081b19 100644 --- a/qmake/generators/symbian/symmake_sbsv2.cpp +++ b/qmake/generators/symbian/symmake_sbsv2.cpp @@ -106,7 +106,7 @@ void SymbianSbsv2MakefileGenerator::writeWrapperMakefile(QFile& wrapperFile, boo releasePlatforms.removeAll("winscw"); // No release for emulator QString testClause; - if (project->values("CONFIG").contains("symbian_test", Qt::CaseInsensitive)) + if (project->isActiveConfig("symbian_test")) testClause = QLatin1String(".test"); else testClause = QLatin1String(""); |