summaryrefslogtreecommitdiffstats
path: root/src/s60installs
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@digia.com>2011-02-02 13:58:14 (GMT)
committerMiikka Heikkinen <miikka.heikkinen@digia.com>2011-02-02 14:41:08 (GMT)
commitcf2f23225414893a7b061fadbde4739165f0c554 (patch)
tree6e874007e4916944f7f4021cd60bc5b319a39307 /src/s60installs
parent5b89e67619d15e817a81c8f39072a210c7cd5f4c (diff)
downloadQt-cf2f23225414893a7b061fadbde4739165f0c554.zip
Qt-cf2f23225414893a7b061fadbde4739165f0c554.tar.gz
Qt-cf2f23225414893a7b061fadbde4739165f0c554.tar.bz2
Fix qt.sis platform dependencies for Symbian^3 builds.
Symbian^3 build of qt.sis is not compatible with pre-Symbian^3 devices, so remove the platform dependencies to said devices. Task-number: QTBUG-17150 Reviewed-by: Janne Koskinen
Diffstat (limited to 'src/s60installs')
-rw-r--r--src/s60installs/s60installs.pro12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/s60installs/s60installs.pro b/src/s60installs/s60installs.pro
index 3b705ad..5c89338 100644
--- a/src/s60installs/s60installs.pro
+++ b/src/s60installs/s60installs.pro
@@ -77,13 +77,19 @@ symbian: {
"ENDIF" \
" \"$$bearerStubZ\" - \"c:$$replace(QT_PLUGINS_BASE_DIR,/,\\)\\bearer\\qsymbianbearer$${QT_LIBINFIX}.qtplugin\"
} else {
+ # Restrict deployment to Symbian3 and later platforms
+ default_deployment.pkg_prerules -= pkg_platform_dependencies
+ platform_dependency_rules.pkg_prerules = \
+ "[0x20022E6D],0,0,0,{\"S60ProductID\"}" \
+ "[0x20032DE7],0,0,0,{\"S60ProductID\"}"
+
# No need to deploy plugins for older platform versions when building on Symbian3 or later
qts60plugindeployment = \
" \"$$pluginLocations/qts60plugin_5_0$${QT_LIBINFIX}.dll\" - \"c:\\sys\\bin\\qts60plugin_5_0$${QT_LIBINFIX}.dll\""
bearer_plugin.sources = $$QT_BUILD_TREE/plugins/bearer/qsymbianbearer$${QT_LIBINFIX}.dll
bearer_plugin.path = c:$$QT_PLUGINS_BASE_DIR/bearer
- DEPLOYMENT += bearer_plugin
+ DEPLOYMENT += bearer_plugin platform_dependency_rules
}
qtlibraries.pkg_postrules += qts60plugindeployment
@@ -183,10 +189,6 @@ symbian: {
contains(QT_CONFIG, openvg) {
qtlibraries.sources += $$QMAKE_LIBDIR_QT/QtOpenVG$${QT_LIBINFIX}.dll
graphicssystems_plugins.sources += $$QT_BUILD_TREE/plugins/graphicssystems/qvggraphicssystem$${QT_LIBINFIX}.dll
- # OpenVG requires Symbian^3 or later
- pkg_platform_dependencies = \
- "[0x20022E6D],0,0,0,{\"S60ProductID\"}" \
- "[0x20032DE7],0,0,0,{\"S60ProductID\"}"
}
contains(QT_CONFIG, opengl) {