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.15 Multitouch issue
QtWS25 Last Chance

Qt 5.15 Multitouch issue

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

    Hello everybody.
    I have a strange issue that I don't understand and maybe you can help me.

    Qt 5.15 compile with multiotuch support.

    Qt Gui:
      Accessibility .......................... yes
      FreeType ............................... yes
        Using system FreeType ................ yes
      HarfBuzz ............................... no
        Using system HarfBuzz ................ no
      Fontconfig ............................. yes
      Image formats:
        GIF .................................. yes
        ICO .................................. yes
        JPEG ................................. yes
          Using system libjpeg ............... yes
        PNG .................................. yes
          Using system libpng ................ yes
      Text formats:
        HtmlParser ........................... yes
        CssParser ............................ yes
        OdfWriter ............................ yes
        MarkdownReader ....................... yes
          Using system libmd4c ............... no
        MarkdownWriter ....................... yes
      EGL .................................... yes
      OpenVG ................................. no
      OpenGL:
        Desktop OpenGL ....................... no
        OpenGL ES 2.0 ........................ yes
        OpenGL ES 3.0 ........................ yes
        OpenGL ES 3.1 ........................ yes
        OpenGL ES 3.2 ........................ yes
      Vulkan ................................. no
      Session Management ..................... yes
    Features used by QPA backends:
      evdev .................................. yes
      libinput ............................... no
      INTEGRITY HID .......................... no
      mtdev .................................. yes
      tslib .................................. yes
      xkbcommon .............................. yes
      X11 specific:
        XLib ................................. yes
        XCB Xlib ............................. yes
        EGL on X11 ........................... no
        xkbcommon-x11 ........................ yes
    QPA backends:
      DirectFB ............................... yes
      EGLFS .................................. yes
      EGLFS details:
        EGLFS OpenWFD ........................ no
        EGLFS i.Mx6 .......................... no
        EGLFS i.Mx6 Wayland .................. no
        EGLFS RCAR ........................... no
        EGLFS EGLDevice ...................... yes
        EGLFS GBM ............................ yes
        EGLFS VSP2 ........................... no
        EGLFS Mali ........................... no
        EGLFS Raspberry Pi ................... no
        EGLFS X11 ............................ no
      LinuxFB ................................ yes
      VNC .................................... yes
    Qt Sql:
      SQL item models ........................ yes
    Qt Widgets:
      GTK+ ................................... no
      Styles ................................. Fusion Windows
    Qt PrintSupport:
      CUPS ................................... no
    Qt Sql Drivers:
      DB2 (IBM) .............................. no
      InterBase .............................. no
      MySql .................................. yes
      OCI (Oracle) ........................... no
      ODBC ................................... no
      PostgreSQL ............................. no
      SQLite2 ................................ no
      SQLite ................................. no
        Using system provided SQLite ......... no
      TDS (Sybase) ........................... no
    Qt Testlib:
      Tester for item models ................. yes
    

    The examples in the widgets secction works fine. ( PinchZoom, FingerPaint and Knobs ).
    But the issue is when I create a stupid app with 4 buttons and it's impossible to press two of them at the same time.
    I enable the "qt.qpa.input" option to see what happen.

    qt.qpa.input: udev device discovery for type QFlags<QDeviceDiscovery::QDeviceType>(Device_Touchpad|Device_Touchscreen)
    qt.qpa.input: Found matching devices ("/dev/input/event6")
    qt.qpa.input: evdevtouch: Adding device at /dev/input/event6
    qt.qpa.input: evdevtouch: Using device /dev/input/event6
    qt.qpa.input: Adding mouse at /dev/input/event6
    qt.qpa.input: create mouse handler for "/dev/input/event6" ""
    qt.qpa.input: evdevtouch: /dev/input/event6: Protocol type B (mtdev) (multi), filtered=no
    qt.qpa.input: evdevtouch: /dev/input/event6: min X: 0 max X: 4095
    qt.qpa.input: evdevtouch: /dev/input/event6: min Y: 0 max Y: 4095
    qt.qpa.input: evdevtouch: /dev/input/event6: min pressure: 0 max pressure: 0
    qt.qpa.input: evdevtouch: /dev/input/event6: device name: DATA MODUL easyMaxTouch
    
    

    Qt recognize the device as Touch device and also it detects as MultiTouch Protocol type B.

    So far, so good. But at this points, when I try to execute a stupid App with four buttons, just one can press.

    What is missing or what is wrong ?
    Thank you ver much in advance.

    1 Reply Last reply
    0
    • W Offline
      W Offline
      webquinty
      wrote on last edited by
      #2

      More information.....

      # evtest /dev/input/event6 
      Input driver version is 1.0.1
      Input device ID: bus 0x3 vendor 0x7374 product 0x1252 version 0x111
      Input device name: "DATA MODUL easyMaxTouch"
      Supported events:
        Event type 0 (EV_SYN)
        Event type 1 (EV_KEY)
          Event code 330 (BTN_TOUCH)
        Event type 3 (EV_ABS)
          Event code 0 (ABS_X)
            Value    828
            Min        0
            Max     4095
            Resolution      20
          Event code 1 (ABS_Y)
            Value   1144
            Min        0
            Max     4095
            Resolution      26
          Event code 47 (ABS_MT_SLOT)
            Value      0
            Min        0
            Max       15
          Event code 53 (ABS_MT_POSITION_X)
            Value      0
            Min        0
            Max     4095
            Resolution      20
          Event code 54 (ABS_MT_POSITION_Y)
            Value      0
            Min        0
            Max     4095
            Resolution      26
          Event code 57 (ABS_MT_TRACKING_ID)
            Value      0
            Min        0
            Max    65535
      Properties:
        Property type 1 (INPUT_PROP_DIRECT)
      Testing ... (interrupt to exit)
      

      Maybe, can help.

      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