fezvez
1st July 2010, 16:14
Hello,
I have quite a simple problem. I would like to have a widget containing several different QGLWidget.
The problem is that, I start with the HelloGL example qiven directly by QtCreator. Then, where there is the instanciation of a GLWidget, I decide to instanciate two of them.
Then, I put both of them in the layout.
The problem is that the display is awful. The background of the GLWidget is not what it should be, instead of dispalying the Qt logo, it keeps on dispaying the background, or just nothing, as if the widget were empty.
Well, anything would be helpful!
I have quite a simple problem. I would like to have a widget containing several different QGLWidget.
The problem is that, I start with the HelloGL example qiven directly by QtCreator. Then, where there is the instanciation of a GLWidget, I decide to instanciate two of them.
Then, I put both of them in the layout.
The problem is that the display is awful. The background of the GLWidget is not what it should be, instead of dispalying the Qt logo, it keeps on dispaying the background, or just nothing, as if the widget were empty.
Well, anything would be helpful!