PyQT Touch Events (Raspberry Pi 5 and Ubuntu 24.04)
-
wrote on 21 Nov 2024, 09:31 last edited by
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.
-
wrote on 21 Nov 2024, 19:16 last edited by
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/ -
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/wrote on 22 Nov 2024, 09:40 last edited by@afalsa I dont get any logging events when this happens which is the issue
-
wrote 28 days ago last edited by
Can you try using Wayland -> Wayfire in sudo raspi-config?