Using Qt built with OpenGL ES on platform with no OpenGL ES support
-
We have two different target platforms (both based on Windows CE), one with OpenGL ES support and one without.
If possible, we would very much like to be able to use the same Qt build (and application build) on both platforms, and detect during runtime whether we should use OpenGL or not.However, it seems like Qt is not built in a way that makes this possible - when we build Qt with OpenGL ES support, the QtGui DLL has a direct dependency on libEGL.dll, which makes our application fail while loading the DLLs. (There seems to be no direct dependency on libGLESv2.dll, though.)
Can anyone think of a way to make this possible, e.g. by configuring/tweaking Qt to load all the OpenGL DLLs only when OpenGL is actually used?