Unsolved OpenGL QWidget Issues
-
I've posted previously about having OpenGL issues when using
QWidgets
and more of the same is happening.We have a OpenGL application which uses a
QOpenGLWidget
and running here on my machine which supports OpenGL 4.4, the application works perfectly well in both debug and release mode.Once the application is installed onto two machines owned by a client (one running Win10 and OpenGL 4.0, the other running Win7 and OpenGL 3.3), the software runs but there is either a transparent OpenGL window created or the
QOpenGLWidget
fails to be created. Either way, the application appears "broken" to the client, which isn't a great situation to be in.I've used something called OpenGL Extension Viewer to determine the features supported on both my development machine and the clients computers, however, is there any way by which I could narrow down which of these features is causing the issue on the clients machines? My guess is that there is some un-supported feature being used by the
QOpenGLWidget
but how can I ever find out what?On my previous post, there was suggestion of using the
setVersion
function of theQSurfaceFormat
but this made no difference at all - even trying to specify version 1, 0.Not being of OpenGL ilk, I'm a little baffled as to what I'm actually looking for so any additional help would be greatly received.
This is the previous post for reference:
https://forum.qt.io/topic/85449/opengl-and-specific-version-support
-
Hi @webzoid
Please give a screenshot of the transparency issue and a description of the error you get when you want to create the OpenGLWindow.
-Michael.
-
@m-sue Thanks for your response.
It's not a "transparency" issue as such, more the previous contents of the OpenGL framebuffer which is making it look transparent. I'm not able to log into the clients computer at the moment but as soon as I can, I will post some screenshots.