[webkit-qt] Touch related DOM events
İsmail Dönmez
ismail at namtrac.org
Wed Mar 31 02:24:31 PDT 2010
Hi;
On Wed, Mar 31, 2010 at 12:19 PM, Benjamin Poulain <
benjamin.poulain at nokia.com> wrote:
> ext İsmail Dönmez wrote:
>
>> I noticed that Qt enables ENABLE_TOUCH_EVENTS so I assumed I would receive
>> DOM Touch events like "touchstart". I am on WinCE with a touchscreen with no
>> multi-touch functionality. Is there some glue code needed for WinCE for this
>> functionality to work?
>>
>
> Unfortunately, Qt send QTouchEvent only when the platform send touch
> events.
> Since there is no such events on WinCE, you can't have touch events in
> WebKit.
>
Ah I feared that. I guess only Windows 7 and MacOSX is supported atm.
> There are two solutions:
> -the proper solution is to create fake QTouchEvent in Qt when the platform
> is mobile (WinCE, Maemo 5, Symbian). If you do such patch, you can
> contribute via Gitorious.
>
I think this would be the best solution, I'll look at it.
> -a workaround is to create fake QTouchEvent yourself and send them to
> QWebPage. See the touchevent mocking code of QtLauncher.
>
Thanks! :)
İsmail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-qt/attachments/20100331/ed8047fd/attachment.html>
More information about the webkit-qt
mailing list