[Qt-interest] how to support pinch/unpinch
Denis Dzyubenko
denis.dzyubenko at trolltech.com
Fri Jul 31 12:47:55 CEST 2009
Hi Hiral,
_h_ wrote:
> Thank you for more information.
> As there are various brand of laptops available in market with
> touchpad support, so Qt-4.6 would be supporting all these hardware OR
> only subset of them ?
Qt will get touch support on these laptops only if the operating system
provide it - i.e. only on Windows7.
> I am more curious to know, how Qt will be getting touch events from
> platforms that just have multitouch hardware, can you please share
> some knowledge.
Qt will not. By default Qt will make use of touch events only on OS that
support it (Windows7 and Mac OS X 10.6). On older operating systems it
_might_ be possible to use touch events as well, but then the
application developer must read raw touch information directly from the
hardware/driver and feed it to Qt (there is an undocumented function[1]
that will probably be exposed externally).
[1]
http://qt.gitorious.org/qt/qt/blobs/master/src/gui/kernel/qapplication.cpp#line5392
--
Denis Dzyubenko
Software Engineer
Nokia, Qt Software
More information about the Qt-interest-old
mailing list