QT and touchscreen

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

QT and touchscreen

996件の閲覧回数
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...

タグ(2)
0 件の賞賛
2 返答(返信)

734件の閲覧回数
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 件の賞賛

734件の閲覧回数
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 件の賞賛