Important: Please read the Qt Code of Conduct -

Touch not working in Embedded Qt4.7.3

  • I cross compiled Qt4.7.3 for ARM Tool chain. I used code sourcery 2009 tool chain and my board is OMAP3 DevKit8500. I build one small Audio application and tested on the board. Then GUI is coming but touch not working and also i tested with mouse , it is also not working. I set the QT environment variables as

    when using touch
    export TSLIB_TSDEVICE=/dev/input/touchscreen0
    export QWS_DISPLAY=tslib:/dev/input/touchscreen0

    when using mouse
    export TSLIB_TSDEVICE=/dev/input/mouse0
    export QWS_MOUSE_PROTO=tslib:/dev/input/mouse0

    I configured as follows
    ./configure -embedded arm-gnueabi -xplatform qws/linux-arm-g++ -prefix /usr/local/Qt -little-endian -qt-gfx-linuxfb -qt-kbd-tty -qt-kbd-linuxinput -qt-mouse-tslib -qt-mouse-linuxinput

  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Is it a copy paste error are you really setting QWS_DISPLAY rather than QWS_MOUSE_PROTO when trying the touch interface ?

    By the way, since your are building Qt yourself, why not use the latest 4.8 ?

  • it's not a error. I am setting QWS_DISPLAY only. I have some restrictions regarding Qt version. What are the actual settings we need to use when using touch and mouse?

  • Lifetime Qt Champion

    "QWS_DISPLAY=tslib:/dev/input/touchscreen0" is wrong tslib is an input driver not a display driver

Log in to reply