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. How to make touch screen work on cross-compiled EGLFS application (on RPi3)?
Forum Updated to NodeBB v4.3 + New Features

How to make touch screen work on cross-compiled EGLFS application (on RPi3)?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
6 Posts 4 Posters 1.5k 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.
  • R Offline
    R Offline
    rrd0
    wrote on last edited by rrd0
    #1

    I've set up a Qt cross toolchain for RPi3 following the steps on the guide A modern guide for cross-compiling Qt for HW accelerated OpenGL with eglfs on Raspbian and setting up Qt Creator.

    To compile the Qt libraries v5.9.1 with no errors, I needed to skip qtwayland, qtlocation, qtscript and qtwebengine, but it worked. I can compile Qt apps on my laptop and run them on Raspberry Pi.

    But there's one thing I couldn't make it work: the touch of my Waveshare 10.1" HDMI LCD.

    Since this is a pretty used display on the RPi community, probably someone else had the same problem and was already able to surpass it.

    So, if you had the same (or a similar) problem, please share your experiences with me. Any information that can help me to put the touchscreen to work is welcome.

    Pablo J. RoginaP 1 Reply Last reply
    0
    • R rrd0

      I've set up a Qt cross toolchain for RPi3 following the steps on the guide A modern guide for cross-compiling Qt for HW accelerated OpenGL with eglfs on Raspbian and setting up Qt Creator.

      To compile the Qt libraries v5.9.1 with no errors, I needed to skip qtwayland, qtlocation, qtscript and qtwebengine, but it worked. I can compile Qt apps on my laptop and run them on Raspberry Pi.

      But there's one thing I couldn't make it work: the touch of my Waveshare 10.1" HDMI LCD.

      Since this is a pretty used display on the RPi community, probably someone else had the same problem and was already able to surpass it.

      So, if you had the same (or a similar) problem, please share your experiences with me. Any information that can help me to put the touchscreen to work is welcome.

      Pablo J. RoginaP Offline
      Pablo J. RoginaP Offline
      Pablo J. Rogina
      wrote on last edited by
      #2

      @rrd0 said in How to make touch screen work on cross-compiled EGLFS application (on RPi3)?:

      But there's one thing I couldn't make it work: the touch of my Waveshare 10.1" HDMI LCD.

      1. You mean touch not working with Qt?
      2. Or not working at all?
      3. Have you following touch screen calibration steps as described in the manual you mentioned?

      Upvote the answer(s) that helped you solve the issue
      Use "Topic Tools" button to mark your post as Solved
      Add screenshots via postimage.org
      Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

      R 1 Reply Last reply
      0
      • Pablo J. RoginaP Pablo J. Rogina

        @rrd0 said in How to make touch screen work on cross-compiled EGLFS application (on RPi3)?:

        But there's one thing I couldn't make it work: the touch of my Waveshare 10.1" HDMI LCD.

        1. You mean touch not working with Qt?
        2. Or not working at all?
        3. Have you following touch screen calibration steps as described in the manual you mentioned?
        R Offline
        R Offline
        rrd0
        wrote on last edited by
        #3

        @Pablo-J.-Rogina

        The touch is calibrated and works fine with Raspberry Pi. It just doesn't work with cross-compiled Qt apps running on top of EGLFS.

        Pablo J. RoginaP 1 Reply Last reply
        0
        • R rrd0

          @Pablo-J.-Rogina

          The touch is calibrated and works fine with Raspberry Pi. It just doesn't work with cross-compiled Qt apps running on top of EGLFS.

          Pablo J. RoginaP Offline
          Pablo J. RoginaP Offline
          Pablo J. Rogina
          wrote on last edited by
          #4

          @rrd0 this post and this SO answer may shade some light for your issue...

          Upvote the answer(s) that helped you solve the issue
          Use "Topic Tools" button to mark your post as Solved
          Add screenshots via postimage.org
          Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

          1 Reply Last reply
          0
          • Cleiton BuenoC Offline
            Cleiton BuenoC Offline
            Cleiton Bueno
            wrote on last edited by
            #5

            Does ts_calibrate work?


            Cleiton Bueno

            Blog | Linkedin | B2Open

            1 Reply Last reply
            0
            • A Offline
              A Offline
              agamarra
              wrote on last edited by
              #6

              Hi @rrd0,
              How did you solve this problem? I am having exactly the same problem and none of the proposed solutions that I have found online are working for me

              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