summaryrefslogtreecommitdiffstats
path: root/mkspecs/features
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2010-03-16 11:53:21 (GMT)
committeraxis <qt-info@nokia.com>2010-03-16 12:01:48 (GMT)
commit30688ce70b4bc161b45826063a242d58a6f06126 (patch)
tree9c55713826bbe5b62583f7ebf20c0cec6c008db5 /mkspecs/features
parent6682c96867037cfc9f8dc789bcb23decc324a200 (diff)
downloadQt-30688ce70b4bc161b45826063a242d58a6f06126.zip
Qt-30688ce70b4bc161b45826063a242d58a6f06126.tar.gz
Qt-30688ce70b4bc161b45826063a242d58a6f06126.tar.bz2
Worked around case differences in Symbian^3 and Gnupoc.
RevBy: Miikka Heikkinen
Diffstat (limited to 'mkspecs/features')
-rw-r--r--mkspecs/features/symbian/qt.prf6
-rw-r--r--mkspecs/features/symbian/qt_config.prf9
2 files changed, 15 insertions, 0 deletions
diff --git a/mkspecs/features/symbian/qt.prf b/mkspecs/features/symbian/qt.prf
index 99f5ece..294a68c 100644
--- a/mkspecs/features/symbian/qt.prf
+++ b/mkspecs/features/symbian/qt.prf
@@ -39,3 +39,9 @@ contains(CONFIG, qt):!contains(TARGET.UID3, 0x2001E61C):!contains(TARGET.UID3, 0
isEmpty(TARGET.EPOCSTACKSIZE):TARGET.EPOCSTACKSIZE = 0x14000
isEmpty(TARGET.EPOCHEAPSIZE):TARGET.EPOCHEAPSIZE = 0x020000 0x800000
+
+# Workaround for the fact that Gnupoc and Symbian chose different approaches to
+# the letter casing of headers.
+contains(CONFIG, is_using_gnupoc) {
+ INCLUDEPATH += $$QT_SOURCE_TREE/mkspecs/common/symbian/header-wrappers
+}
diff --git a/mkspecs/features/symbian/qt_config.prf b/mkspecs/features/symbian/qt_config.prf
new file mode 100644
index 0000000..2f446dc
--- /dev/null
+++ b/mkspecs/features/symbian/qt_config.prf
@@ -0,0 +1,9 @@
+load(qt_config)
+
+!contains(QMAKE_HOST.os, "Windows") {
+ # Test for the existence of lower cased headers, a sign of using Gnupoc.
+ # Note that the qmake "exists" test won't do because it is case insensitive.
+ system("test -f $${EPOCROOT}/epoc32/include/akndoc.h") {
+ CONFIG += is_using_gnupoc
+ }
+}