View Full Version : Qt application is completely white

16th May 2018, 15:14

There is a user of my software that has reported that when he executes the software it is completely white, however, some widgets are still doing things, like showing menus.

This GIF image shows the issue:

My software uses the Qt5::OpenGL, so I compiled and sent him all the OpenGL examples (hellogl2, hellogles3, cube, etc), and most of these application have the same problem:

I tested out the programs and here are the results:
2dpainting.exe - All white
contextinfo.exe - All renders fine I guess, with the exception of both windows on the right that are all white
cube.exe - All white
hellogl2.exe - All white
hellogles3.exe - Does not start, crashes upon trying to execute
hellowindow.exe - All white
paintedwindow.exe - All white
qopenglwidget.exe - All white
qopenglwindow.exe - All white, and crashes after around a second
textures.exe - All white
threadedqopenglwidget.exe - All white, and crashes after around a second too

These are his specs:
Processor: Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz
Video Card: Intel(R) HD Graphics 3000
RAM: 4.0 GB
OS: Microsoft Windows 7 Home Premium Edition Service Pack 1 (build 7601), 64-bit

Is this a known issue? Or has anybody experienced this issue? Is there a way to fix this?

Thank you in advance for your help!

16th May 2018, 23:36
The level of OpenGL support on your user's machine is probably not as high as you are using in your app, therefore the driver can't display any OpenGL.

There are OpenGL methods to test for and return information on the level of GL support on the machine where the program is running (see this stackoverflow post (https://stackoverflow.com/questions/41021681/qt-how-to-detect-which-version-of-opengl-is-being-used)).