QT and touchscreen

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

QT and touchscreen

981 Views
danix
Contributor III

Hi Qt developers,

 

I wanted to develop applications using Qt on my custom board with imx233. So, I built Qt 4.7.2 and I was able to run the demos on the target. I have a 3.5" TFT w/resistive 4-wire touch and three push buttons. The push buttons are working, But Qt has no response when the screen is touched.

 

while building Qt for target I have config options, -mouse-tslib  -kbd-tty

 

the usb port on my board doesn't support host mode, so I can't use mouse or keyboard. The only option I've is to get the touch work.

 

Please share your experience as to how to enable touch when using Qt.

 

Ps: my touch screen works great with the FSL gnome release...

Tags (2)
0 Kudos
2 Replies

719 Views
danix
Contributor III

Hi Vladan,

Just a minute after I posted it here, I read your comment on another thread ...

It is working now,

Thanks a lot

0 Kudos

719 Views
VladanJovanovic
NXP Employee
NXP Employee

Did you do following before running Qt app?

export QWS_MOUSE_PROTO=tslib:/dev/input/event1
export TSLIB_TSDEVICE=/dev/input/event1

(you may have to change event1 to one that you have showing up on i.MX233)

0 Kudos