Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Touch not working in Embedded Qt4.7.3
Forum Updated to NodeBB v4.3 + New Features

Touch not working in Embedded Qt4.7.3

Scheduled Pinned Locked Moved Mobile and Embedded
4 Posts 2 Posters 1.3k Views 1 Watching
  • 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 Offline
    S Offline
    siva_krishna
    wrote on last edited by
    #1

    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
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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
      0
      • S Offline
        S Offline
        siva_krishna
        wrote on last edited by
        #3

        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
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          "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
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved