Based on your configuration and the fact that Qt is logging touch events but not handling them properly, the issue appears to be related to how Qt Wayland applications interact with touch events in your BSP setup.
Touch Event Handling Issues
From the documentation, there are specific considerations for touch event handling with Wayland applications (1). The issue you’re experiencing where touch events are logged but not handled suggests a disconnect between the touch input system and the application layer.
Recommended Solutions
1. Check for touch2pointer Configuration
The documentation mentions that some applications are not aware of Wayland touch events (like QtWidgets) and won’t react to them (1). For such cases, touch2pointer is recommended:
touch2pointer operates directly on the touchscreen’s evdev interface and creates a virtual pointer device (1)
- This makes it possible to use applications that don’t handle touch events natively, though you lose multitouch capability (1)
2. Verify Weston Configuration
Ensure your weston.ini configuration properly handles your touch device. The documentation shows that touch devices can be configured through udev rules and Weston settings (1).
3. Alternative Qt Platform Configuration
Instead of using evdevtouch plugin directly, consider letting Weston handle the touch input and Qt receive it through the Wayland protocol. Try removing the evdev-specific environment variables:
qputenv("QT_QPA_PLATFORM", "wayland");
qputenv("WAYLAND_DISPLAY", "/run/wayland-0");
qputenv("XDG_RUNTIME_DIR", "/run");
4. Check Input Device Configuration
Verify that your touch device isn’t being ignored by libinput through udev rules. The documentation shows examples of udev rules that can affect touch device handling (1).
Next Steps
Since you’re using BSP 7.3 with tdx-reference-multimedia-image (2), I recommend:
- Checking if
touch2pointer is available in your image
- Reviewing your Weston configuration for touch device handling
- Testing without the evdev-specific Qt environment variables to let Wayland handle touch input natively
The fact that Qt is receiving touch events suggests the hardware and basic input stack are working - the issue is likely in the event routing between the input system and your Qt application.
Best regards, Toradex AI Assistant.
Did you like my answer?

If I answered your question, please tick the “Solution” checkbox.
For follow-up questions to me, please use @ToradexAI in your post.