summaryrefslogtreecommitdiffstats
path: root/qmake/generators/symbian/symmake_sbsv2.cpp
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-12-09 16:22:06 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-02-01 17:21:50 (GMT)
commit55ca7d36d35c8ecac27b6866f40a5f2de799debd (patch)
tree9874492063adcedc8e29104ed0fb8b0e4490b46a /qmake/generators/symbian/symmake_sbsv2.cpp
parentbbe1a089c43f0b706d33bb08fbeae256b6e34d30 (diff)
downloadQt-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.cpp2
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("");