Transparent background with linuxfb



  • Hello,

    I'm trying to overlay animation with QT using linuxfb. I'd like to have it set up so that when QT redraws the image, it clears the background to Qt::transparent. Anything I have tried so far simply results in either a black or white rectangle, but not a "clear" one.

    All QT has to do is write 0x00000000 to each pixel, but I can't quite seem to figure out how to make it do that. Any advice?



  • I can change the background color (setBackgroundBrush) to anything I want, but I can't make it transparent. What am I doing wrong?



  • I managed to set the background to transparent, but for some reason, QT never draws the background. Obiously this is terrible for animation. I want it to always draw the background, but draw a transparent background. Any ideas?



  • I have determind that this is NOT possible. It's a good idea to move to the eglfs or minimalegl platform.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.