Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-111952

tslib input plugin broken

    XMLWordPrintable

Details

    • Linux/Other display system
    • f0b2c5f21 (dev), 44df580c8 (6.6), 87b0297ca (tqtc/lts-6.5), 65258e941 (tqtc/lts-6.2)

    Description

      Apparently, tslib support is broken in Qt6. A debug log shows the device being used, but no events seem to be generated. The UI does not react to any touchscreen presses:

      root# QT_LOGGING_RULES="qt.qpa.input=true" QT_QPA_FB_NO_LIBINPUT=1  coreui
      QML debugging is enabled. Only use this in a safe environment.
      QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/var/volatile/tmp/runtime-root'
      qt.qpa.input: Initializing tslib plugin "TsLib" ""
      qt.qpa.input: tslib device is /dev/input/touchscreen0
      qt.qpa.input: evdevkeyboard: Using device discovery
      qt.qpa.input: udev device discovery for type QFlags<QDeviceDiscovery::QDeviceType>(Device_Keyboard)
      qt.qpa.input: Found matching devices QList("/dev/input/event0")
      qt.qpa.input: Adding keyboard at /dev/input/event0
      qt.qpa.input: Try to create keyboard handler for "/dev/input/event0" ""
      qt.qpa.input: Opening keyboard at /dev/input/event0
      qt.qpa.input: Create keyboard handler with for device "/dev/input/event0"
      qt.qpa.input: Unload current keymap and restore built-in
      qt.qpa.input: numlock=0 , capslock=0, scrolllock=0
      qt.qpa.input: evdevmouse: Using device discovery
      qt.qpa.input: udev device discovery for type QFlags<QDeviceDiscovery::QDeviceType>(Device_Mouse|Device_Touchpad)
      qt.qpa.input: Found matching devices QList()
      This plugin does not support createPlatformOpenGLContext!
      failed to acquire GL context to resolve capabilities, using defaults..
      

      Our application supports both Qt5 and Qt6. tslib works fine in the Qt5 build.

      Note that we rely on tslib mainly for its touchscreen calibration feature. libinput or Qt's own evdev handling do not have a suitable substitute.

      Attachments

        For Gerrit Dashboard: QTBUG-111952
        # Subject Branch Project Status CR V

        Activity

          People

            sapiippo Samuli Piippo
            msarehn Arno Rehn
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes