Running QT Apps on MING using QWidgets is a nigthmare.
So I moved to Canvas and I have good news:
I can draw everythin on the screen using canvas, and I can catch input events like pointer press and pointer release.
Bellow is a sample program that draws some pictures on top of a canvas and catches input.
To exit press the top right of the screen.
To turn on the lights one by one, press the top left of the scrren.
To turn on all the lights, press the bottom of the screen.
It was just a proof of concept, but will became a full application.
To run the app:
Code:
. /home/native/.profile
./dgenius