Hi
It sounds like things are working since you have a gui, although small, on video17. You should seemingly play with QT settings.
We have long ago switched to framebuffer system instead of x11. However you might need to set the following (change according to your system) parameters for QT to output the GUI to the correct size.
export QT_QPA_EGLFS_FB="/dev/fb1"
export FB_FRAMEBUFFER_0=/dev/fb1
export QT_QPA_EGLFS_WIDTH=800
export QT_QPA_EGLFS_HEIGHT=480
export QT_QPA_EGLFS_PHYSICAL_WIDTH=108.0
export QT_QPA_EGLFS_PHYSICAL_HEIGHT=64.8
export FB_MULTI_BUFFER=2
Like is said, change the values to fit your solution.
you can change the MXCFB_SET_CLR_KEY and MXCFB_SET_GBL_ALPHA settings with calls from your application like this:
int fb4 = 0;
fb4 = open("/dev/fb4",O_RDWR);
alpha.enable = 1;
alpha.alpha = 0;
if (ioctl(fb4, MXCFB_SET_GBL_ALPHA, &alpha) < 0) {
//print some error
}
key.color_key = 38912;
key.enable = 1;
if(ioctl(fb4, MXCFB_SET_CLR_KEY, &key)< 0) {
//print some error
}
close(fb4);