Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Touch not working in Embedded Qt4.7.3

    Mobile and Embedded
    2
    4
    1103
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      siva_krishna last edited by

      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

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        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 ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply Reply Quote 0
        • S
          siva_krishna last edited by

          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?

          1 Reply Last reply Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

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

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply Reply Quote 0
            • First post
              Last post