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. PyQT Touch Events (Raspberry Pi 5 and Ubuntu 24.04)
Forum Updated to NodeBB v4.3 + New Features

PyQT Touch Events (Raspberry Pi 5 and Ubuntu 24.04)

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 487 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.
  • O Offline
    O Offline
    OOOllieMCL
    wrote on last edited by
    #1

    Hi all,

    I am having an issue that QT is only ever receiving touch events when I press the screen with 3 fingers, I have an application running on my desktop in Ubuntu 24.04. I can press on the desktop and all events are recorded fine for other applications. I've used xinput to calibrate the screen as well and other applications such as Firefox accurately touch clicks.

    Ive set the attributes on the widgets and I can add that it works fine on Windows with the touch screen as well. Is there anything I need to do to enable the support for this on a Linux environment? I use X11 instead of Wayland and installed PyQt with pip.

    I get no information from the event filter that any event is happening when I press with a single finger.

    1 Reply Last reply
    0
    • A Offline
      A Offline
      afalsa
      wrote on last edited by
      #2

      Hi @OOOllieMCL ,

      I write the same message as i've some minutes ago. You can try to enable logs:

      https://doc.qt.io/qt-6/embedded-linux.html#logging
      https://rsadowski.de/posts/2023-01-05-qt-kde-controlling-debug-messages/

      O 1 Reply Last reply
      0
      • A afalsa

        Hi @OOOllieMCL ,

        I write the same message as i've some minutes ago. You can try to enable logs:

        https://doc.qt.io/qt-6/embedded-linux.html#logging
        https://rsadowski.de/posts/2023-01-05-qt-kde-controlling-debug-messages/

        O Offline
        O Offline
        OOOllieMCL
        wrote on last edited by
        #3

        @afalsa I dont get any logging events when this happens which is the issue

        1 Reply Last reply
        0
        • O Offline
          O Offline
          obook
          wrote on last edited by
          #4

          Can you try using Wayland -> Wayfire in sudo raspi-config?

          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