Why Isn't the Touch Screen Working on My Qt Application Deployed to BeagleBone Black?
@Middleware & OS
Hello guys I configured a Qt development environment to develop applications for ARM based Embedded Linux platform, I am using a Ubuntu 12.04 (64bit) host system and beaglebone black ARM hardware platform. I have created a simple hello world program with a button which I have deployed to the Embedded Linux device (BBB) but the touch screen is not working. Below is the code.
what might be wrong?
Solution:Jump to solution
@Boss lady The touch screen not working on your BeagleBone Black (BBB) could be due to several reasons. you can try troubleshooting by
making sure the touchscreen drivers are properly installed on the BBB. You can check this by running:
...
3 Replies
The issue may be due to:
- Incorrect Qt configuration
- Missing event handling for touch events
- Touchscreen driver not installed/configured correctly
- Qt Widgets not suitable for touchscreens (try Qt Quick instead)
Check Qt documentation, driver installation, and try a simple QML app to troubleshoot.
Check out this
https://youtu.be/kP7uvOu9hoQ?si=RIgnTlcJSFJ_Gxqq
Derek Molloy
YouTube
Beaglebone: Qt Creator for C++ ARM Embedded Linux Development
This is the second video in a set of three on Qt application development on the Beaglebone or any other embedded Linux device. The first video introduces the LCD module that I used and this video is where I set up a full toolchain for C++ Qt application development under embedded Linux (Qt for embedded devices). This toolchain allows us to cross...
Solution
@Boss lady The touch screen not working on your BeagleBone Black (BBB) could be due to several reasons. you can try troubleshooting by
making sure the touchscreen drivers are properly installed on the BBB. You can check this by running:
if the drivers are not installed, you'll need to find and install the appropriate drivers for your touchscreen, Sometimes the touchscreen needs calibration. You can use tools like
ts_calibrate
to calibrate the touchscreen, make sure your Qt environment is configured to support touch events. You might need to set the appropriate Qt plugins for input devices. like 👇
Replace /dev/input/eventX
with the correct event device for your touchscreen.
ensure that the application has the necessary permissions to access the input device. You might need to adjust the permissions:
then for the final stage update your libraries