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. Raspberry Os Lite USB touchscreen issues
Forum Updated to NodeBB v4.3 + New Features

Raspberry Os Lite USB touchscreen issues

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
3 Posts 2 Posters 255 Views
  • 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
    Simof
    wrote on last edited by
    #1

    Dear all,

    I've cross-compilated a tiny GUI for Raspberry OS with Desktop and it works fine.
    I tried to have the same result on Raspberry OS Lite but the touchscreen not works.

    It is a USB touchscreen sensor and it is recognized correctly from the raspberry

    2021-11-03 14_40_52-Ubuntu 64-bit - VMware Workstation 16 Player (Non-commercial use only).png

    If I try with a mouse it works fine.

    What could be the problem?

    Pablo J. RoginaP 1 Reply Last reply
    0
    • S Simof

      Dear all,

      I've cross-compilated a tiny GUI for Raspberry OS with Desktop and it works fine.
      I tried to have the same result on Raspberry OS Lite but the touchscreen not works.

      It is a USB touchscreen sensor and it is recognized correctly from the raspberry

      2021-11-03 14_40_52-Ubuntu 64-bit - VMware Workstation 16 Player (Non-commercial use only).png

      If I try with a mouse it works fine.

      What could be the problem?

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

      @Simof said in Raspberry Os Lite USB touchscreen issues:

      It is a USB touchscreen sensor and it is recognized correctly from the raspberry

      Are you able to have a non-Qt app working fine with that device in the OS Lite?

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

        with this variables environment works, but if I set height and width then the labels in the gui appear very tiny

        DISPLAY=:0.0
        LD_LIBRARY_PATH=/opt/vc/lib
        QT_QPA_EGLFS_NO_LIBINPUT=1
        QT_QPA_EGLFS_PHYSICAL_HEIGHT=800
        QT_QPA_EGLFS_PHYSICAL_WIDTH=1280
        QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS=/dev/input/event0:rotate=180
        QT_QPA_PLATFORMTHEME=qt5ct
        XAUTHORITY=/home/pi/.Xauthority
        XDG_SESSION_TYPE=x11
        
        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