diff options
author | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2010-06-02 10:30:18 (GMT) |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2010-06-02 11:29:52 (GMT) |
commit | 8f517a60c93ec64478772b4cb2ce7d2cd2967647 (patch) | |
tree | 400039ab0fe9fe4d224c33d684dc4fa686225e0d /mkspecs/common/symbian | |
parent | afef0789d8dd3ac2611f0c136e026d7d9cfa68f6 (diff) | |
download | Qt-8f517a60c93ec64478772b4cb2ce7d2cd2967647.zip Qt-8f517a60c93ec64478772b4cb2ce7d2cd2967647.tar.gz Qt-8f517a60c93ec64478772b4cb2ce7d2cd2967647.tar.bz2 |
Fix Qt.sis content for Symbian^3 builds
Some build-time omissions from Qt_template.pkg are done, so qt.sis
built on Symbian^3 will not work properly on most S60 3.x & 5.0 devices.
This should not be an issue, as Symbian^3 builds are expected to be
configured to use OpenVG anyway.
If necessary, it is still possible to build Qt.sis compatible with
older platforms also on Symbian^3 if you fake the S60 version when
calling qmake, e.g.: 'qmake S60_VERSION=5.0'
Reviewed-by: Shane Kearns
Diffstat (limited to 'mkspecs/common/symbian')
-rw-r--r-- | mkspecs/common/symbian/symbian-mmp.conf | 16 | ||||
-rw-r--r-- | mkspecs/common/symbian/symbian.conf | 3 |
2 files changed, 11 insertions, 8 deletions
diff --git a/mkspecs/common/symbian/symbian-mmp.conf b/mkspecs/common/symbian/symbian-mmp.conf index 1ab228f..b0d17be 100644 --- a/mkspecs/common/symbian/symbian-mmp.conf +++ b/mkspecs/common/symbian/symbian-mmp.conf @@ -38,15 +38,17 @@ INCLUDEPATH = \ # RVCT seems to do this automatically, but WINSCW compiler does not, so add it here. MMP_RULES += "USERINCLUDE ." -exists($${EPOCROOT}epoc32/release/winscw/udeb/z/system/install/series60v5.0.sis )|exists($${EPOCROOT}epoc32/data/z/system/install/series60v5.0.sis) { +exists($${EPOCROOT}epoc32/release/winscw/udeb/z/system/install/series60v5.2.sis)|exists($${EPOCROOT}epoc32/data/z/system/install/series60v5.2.sis) { + S60_VERSION = 5.2 symbian3 +} else:exists($${EPOCROOT}epoc32/release/winscw/udeb/z/system/install/series60v5.1.sis)|exists($${EPOCROOT}epoc32/data/z/system/install/series60v5.1.sis) { + S60_VERSION = 5.1 symbian2 +} else:exists($${EPOCROOT}epoc32/release/winscw/udeb/z/system/install/series60v5.0.sis)|exists($${EPOCROOT}epoc32/data/z/system/install/series60v5.0.sis) { S60_VERSION = 5.0 +} else:exists($${EPOCROOT}epoc32/release/winscw/udeb/z/system/install/series60v3.2.sis)|exists($${EPOCROOT}epoc32/data/z/system/install/series60v3.2.sis) { + S60_VERSION = 3.2 } else { - exists($${EPOCROOT}epoc32/release/winscw/udeb/z/system/install/series60v3.2.sis )|exists($${EPOCROOT}epoc32/data/z/system/install/series60v3.2.sis) { - S60_VERSION = 3.2 - } else { - S60_VERSION = 3.1 - MMP_RULES -= PAGED BYTEPAIRCOMPRESSTARGET - } + S60_VERSION = 3.1 + MMP_RULES -= PAGED BYTEPAIRCOMPRESSTARGET } QMAKE_CXXFLAGS_FAST_VFP.ARMCC = --fpmode fast diff --git a/mkspecs/common/symbian/symbian.conf b/mkspecs/common/symbian/symbian.conf index 89034ca..b8bfd7c 100644 --- a/mkspecs/common/symbian/symbian.conf +++ b/mkspecs/common/symbian/symbian.conf @@ -119,13 +119,14 @@ load(symbian/platform_paths) default_deployment.pkg_prerules += pkg_depends_webkit pkg_depends_qt pkg_platform_dependencies -# Supports S60 3.0, 3.1, 3.2 and 5.0 by default +# Supports S60 3.0, 3.1, 3.2, 5.0 and Symbian^3 by default pkg_platform_dependencies = \ "; Default HW/platform dependencies" \ "[0x101F7961],0,0,0,{\"S60ProductID\"}" \ "[0x102032BE],0,0,0,{\"S60ProductID\"}" \ "[0x102752AE],0,0,0,{\"S60ProductID\"}" \ "[0x1028315F],0,0,0,{\"S60ProductID\"}" \ + "[0x20022e6d],0,0,0,{\"S60ProductID\"}" \ " " DEPLOYMENT += default_deployment |