Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt 15.5.0 DPI scaling touch screen problem (EGLFS)

Qt 15.5.0 DPI scaling touch screen problem (EGLFS)

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 415 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.
  • D Offline
    D Offline
    DL5EU
    wrote on last edited by
    #1

    Dear all,

    I have connected a new display to my Raspberry Pi 4B because I had driver problems with my previous one. The new one has a resolution of 800x480 pixels, a capacitive touch screen and a DSI connection. After setting QT_QPA_EGLFS_KMS_ATOMIC=1 my application starts. Display and touch screen seem to work correctly.

    However, due to the high resolution of the display, the displayed characters are very small. As the physical size of the screen is not detected by Qt (veryfied with Qt logging), I have set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT to the correct values (95 by 54 mm) in /etc/environment. When I now start my application, characters and buttons are bigger but my application does no longer react to touch events, though the touches are recognized by the application (verified with qDebug() << ((QMouseEvent *) event)->screenPos()). The positions that are reported are as expected (between 0,0 and 799,479) and not rotated.

    Has anybody an idea what is going on here?

    Thank you very much for your help!

    Kind regards,

    Ralf

    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