It is possible to avoid loading opengl32sw.dll when OS have no opengl drivers ?
-
I have a static qml application (qt 5.15), and i just want to distribute only one binary file to my customer. And all working fine, while customer have graphics driver in the system. But there is a certain percentage of customers who do not have opengl32 drivers, and in this case, i need to supply a opengl32sw.dll (software implementation) file next to the application, but i want to avoid this, is it possible?
There is no way to distribute opengl32sw.dll inside application, in resources maybe?
Or perhaps this problem is solved by switching to RHI backend ?
I will be glad for any advice. -
It's not possible until you compile opengl32sw statically by yourself.
-
It's not possible until you compile opengl32sw statically by yourself.
@Christian-Ehrlicher Are you sure? Quick look at the Qt sources, and i see that opengl32sw.dll is loading using LoadLibrary win api function, there is no other way to load opengl functions.
-
You could also fix the issue with ... documentation. The user can install the OpenCL™ and OpenGL® Compatibility Pack from the Microsoft Store.
-
You could also fix the issue with ... documentation. The user can install the OpenCL™ and OpenGL® Compatibility Pack from the Microsoft Store.
@cristian-adam User also can install drivers, change OS, etc, but I have another question. It is possible create application without opengl32sw.dll dependency ? Maybe Qt6 will allow it?