[Qt-jambi-interest] ARGB Visuals in QT Jambi ?

Gunnar Sletta gunnar at trolltech.com
Thu Nov 27 09:58:56 CET 2008


On 26. nov.. 2008, at 22.46, Børge Austvold wrote:

> Hi Gunnar,
>
> Well I managed to get this up and running using native code to  
> initialize the QApplication. I can now create a fullscreen  
> application that paints transparent on the screen, cool! One thing  
> is still missing, if I try to do this with a QGLWidget the screen  
> turns black, QWidget is ok... any idea why GL painting fails on this ?
>

This will not be possible with a GL widget. Behind the QWidget is a  
double buffer based on XRender which is composited onto the screen.  
When you use a QGLWidget you're bypassing XRender and Qt's internal  
double buffer and all other things that would make this work. To get  
this working with a GL widget you would have to use a GL based X  
server and hook into it somehow, but I have little experience in that  
area, I'm afraid...

-
Gunnar



More information about the Qt-jambi-interest mailing list