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. Qt 5.11, eglfs touch problem with dual-monitor setup
Forum Updated to NodeBB v4.3 + New Features

Qt 5.11, eglfs touch problem with dual-monitor setup

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 215 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.
  • P Offline
    P Offline
    pocokman
    wrote on last edited by
    #1

    I have a Qt-based program (using eglfs platform), and 2 monitors, one LVDS and the other one is connected by HDMI. The LVDS monitor is a touch screen. The screen of HDMI is placed to the right of the LVDS screen, both of them have resolution of 1024x768. If I touch on the LVDS on the position of (X;Y), the system thinks I have touched on (X*2;Y). I have tried this command:

    xinput set-prop "eGalax Inc. eGalaxTouch EXC3000-5207-45.00.00" --type=float "Coordinate Transformation Matrix" 0.5 0 0 0 1 0 0 0 1
    

    This works if the software is not Qt-based (like an xterm window), but my Qt software is still wrong. What is the problem, how can I fix it?

    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