Still no luck!

There is a project https://startingelectronics.org/proj...ects/kiosk-Qt/ that is close to what I am trying to do in terms of the buttons. I actually downloaded this ant got it to build for the Beaglebone Black but when I run it there is no button press UNLESS the mouse is positioned over the button. I think the problem is that I am not using any kind of server ea. X11, I am writing directly to the linuxfb (./program -platform linuxfb)? I am using a HDMI display and USB touch-screen.