summaryrefslogtreecommitdiffstats
path: root/src/s60installs/s60installs.pro
diff options
context:
space:
mode:
authorSami Merila <sami.merila@nokia.com>2010-10-29 09:52:21 (GMT)
committerSami Merila <sami.merila@nokia.com>2010-10-29 09:55:47 (GMT)
commit177960b77ce7b02b853c45278b7c7068783be49f (patch)
tree25fd09457ded57454743933843fa2c186b07eea1 /src/s60installs/s60installs.pro
parentd7e1ed1c505f61ab9b9a9874bcbdf9bd94965a27 (diff)
downloadQt-177960b77ce7b02b853c45278b7c7068783be49f.zip
Qt-177960b77ce7b02b853c45278b7c7068783be49f.tar.gz
Qt-177960b77ce7b02b853c45278b7c7068783be49f.tar.bz2
Support tactile feeedback from QS60Style for QWidgets
Currently tactile feedback is not given for QWidgets running on Symbian even if the native side supports this (Sym^3 and 5th Edition devices). This task adds support for QWidgets having QS60Style. The tactile feedback has been implemented as a plugin that the style loads when instantiating itself for touch devices. NOTE that the feedback is NOT supported by the emulated style, nor is the plugin interface public, so it cannot be used outside of style. The implementation is simplistic, since we only want to provide stop-gap solution until 4.8 when real Qt feedback implementation is ready. The implementation will only give feedback for touch-down events for visible, interactive and enabled widgets. Sliders and scrollbars will use sensitive feedback (slightly less aggressive) and all others will use basic feedback. Note that Sym^3 adds tens of different feedback categories, which this plugin ignores as we want to share the same implementation for Sym^3 and 5th ed. In distributed Qt package there is no tactile feedback for 5th edition, due to package creation limitations. Support can be added manually by re-compiling Qt on top of 5th Edition SDK. Task-number: QT-4037 Reviewed-by: Jani Hautakangas Reviewed-by: Janne Koskinen
Diffstat (limited to 'src/s60installs/s60installs.pro')
-rw-r--r--src/s60installs/s60installs.pro6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/s60installs/s60installs.pro b/src/s60installs/s60installs.pro
index 9559da6..23b3d8f 100644
--- a/src/s60installs/s60installs.pro
+++ b/src/s60installs/s60installs.pro
@@ -86,6 +86,12 @@ symbian: {
bearer_plugin.path = c:$$QT_PLUGINS_BASE_DIR/bearer
DEPLOYMENT += bearer_plugin
}
+
+ contains(S60_VERSION, 5.0)|contains(S60_VERSION, symbian3) {
+ feedback_plugin.sources = $$QT_BUILD_TREE/plugins/s60/feedback/qtactilefeedback$${QT_LIBINFIX}.dll
+ feedback_plugin.path = c:$$QT_PLUGINS_BASE_DIR/feedback
+ DEPLOYMENT += feedback_plugin
+ }
qtlibraries.pkg_postrules += qts60plugindeployment