[Qt-embedded-interest] Touch Screen feature in QtEmbedded 4.5

trinathpujari trinathpujari at tataelxsi.co.in
Thu Oct 8 06:52:52 CEST 2009


Hi Rodrigo,

Thanks for the useful input.As you described below i have reconfigured 
my Qt with '-qt-mouse-tslib' option and it has compiled properly.
But when i want to use any mouse event, it is not working for e.g i have 
used the default mousePressEvent( ) but it is not going inside the event 
and not doing anything when i touch the screen.
                     Do you know which is the right mouse event for the 
touch screen, If you know then please provide me a simple sample code.

Thanks in advance

Regards
  Trinath




Rodrigo Tavares wrote:
> Hi Trinath,
>
> As far as I know, QtEmbedded 4.6 WILL bring support for "multi-touch" 
> screens, which uses the QTouchEvent class. Up to 4.5, the touch-screen 
> is handled much like a mouse.
>
> To enable the touch-screen support on 4.5 you have to compile the Qt 
> library with the '-qt-mouse-tslib' option, and also have support for 
> this device on your target's linux kernel (there are a bunch of 
> different touch-screen devices listed on the Linux menuconfig tool, 
> hopefully one will handle your touch-screen controller).
>
> Regards,
>
> Rodrigo
>
> trinathpujari wrote:
>> Hi All,
>>
>>        Can anyone tell me how to configure and use the Touch Screen 
>> feature in QtEmbedded  4.5.0.
>>        When i searched, i only got QTouchEvent class in 4.6 version.
>>        Can anybody suggest how to enable touch screen feature in 
>> QtEmbedded  4.5.0.
>>
>> Thanks
>>  Trinath
>>
>>
>>
>> _______________________________________________
>> Qt-embedded-interest mailing list
>> Qt-embedded-interest at trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-embedded-interest
>>
>>
>>   
>
> -- 
> _______________________________________________________
> *Rodrigo Tavares*
> /Gerente de Desenvolvimento de Software/
> /Omnimed Ltda./
> /Fone: +55 31 2126-6200/
> /E-mail: rodrigo at omnimed.com.br <mailto:rodrigo at omnimed.com.br>/
> /Skype: rodrigoomnimed /
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Qt-embedded-interest mailing list
> Qt-embedded-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-embedded-interest
>   







More information about the Qt-embedded-interest mailing list