GLWidget render issue in release mode
-
Hi,
I have some issues with Open GL on a computer. So I've tried compiling the hello GL example from: http://qt-project.org/doc/qt-5/qtopengl-hellogl-example.html
Everything is fine when I compile in debug. But when set to release, the GL Widget does not get painted.
I use QT 5.3
Any idea ?
-
Hi and welcome to devnet,
You should also add the OS you are running
-
Of course sorry...
Windows Seven 32 bits
-
Which package did you install ? Also, if you're on 5.3.0, you should try 5.3.1
-
Just moved from 5.3.0 to 5.3.1 and I still have the same issue.
The PC I try to run it to is a small eeePC. May be the graphic card does not have the latest OpenGL ? Is there a way to tell QGLwidget to use an older version ?
BTW, the same project works fine on another platform...
-
It should not make any difference between debug and release… QGLFormat comes to mind for selecting which OpenGL version you want to use
-
Been playing around with this and I've managed to make it work simply by decreasing the openGL version. So I guess that the graphic card driver is kind of cheatty on that computer...
Thanks anyway... :-)
-
Update !
More seriously, it's pretty strange that it's working in debug and not in release… Anyway, glad you found a solution in between.