Problem in run Qt app with touchscreen

tarun
Attachment: touchscreen.png (8.66 KB)
hi,

On executing an Qt based Crosscompiled application on arm based board,
containing touchscreen

used -qt-mouse-linuxinput -plugin-mouse-tslib flags in configuring qmake

also exported env on device
export QWS_MOUSE_PROTO=Linuxinput:/dev/event0

on running the application, as the touch event occurs the following message
is being displayed on console(as shown in attachment).

Unknown mouseevent type=3 

how to handle it?

Juergen Beisert
Are you sure you have cross compiled your Qt against the same kernel
headers and/or the same tslib headers than running on your target?

tarun
using same kernel and same tslib headers, ts_calibrate and ts_test
applications are working fine but with qt facing the above problem.

Juergen Beisert
You want to use tslib with your Qt library? If yes, you must use
"QWS_MOUSE_PROTO=Tslib:/dev/input/event0" instead.
And: are you sure, the "/dev/input/event0" is the touchscreen?