Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Problems compiling Qt 4.7 RC1 for Windows Mobile with the Vincent 3D OpenGL ES library
I am unable to compile the 4.7 RC1 for Windows Mobile with the Vincent 3D OpenGL ES library. The configuration I'm using is:
configure -platform win32-msvc2008 -xplatform wincewm50pocket-msvc2008 -no-qt3support -debug-and-release -opensource -no-openvg -opengl-es-cm
If I drop the -opengl-es-cm it compiles just fine. And I can build the 4.6.3 release with the above configuration without any problems.
The error messages I'm getting are about some missing definitions, e.g. for EGLenum. This definition seems to have been introduced in EGL 1.2, whereas the Vincent 3D OpenGL ES library seems to be based on EGL 1.1. I cannot find any informtion about Qt requiring a specific version of EGL, but it seems like it now requires 1.2, whereas 4.6.3 only required 1.1.
Does this mean I simply cannot use Vincent 3D with Qt 4.7, or is there a way to get around this?
If not, are there any alternative (preferably free...) software implementations of Open GL ES I could use instead?
Just wanted to add that this problem is still there in the 4.7 release.
And that "the 4.7 documentation":http://doc.trolltech.com/4.7/windowsce-opengl.html claims that "Qt for Windows CE uses EGL 1.1 to embed OpenGL ES windows within the Windows CE window manager.". So why the use of symbols introduced in EGL 1.2?
Always difficult to know if a build issue is a Qt bug or just something to do with the environment, but this sure seems like a bug to me.
Reported this as a bug (QTBUG-14215), which was promptly taken care of, and will be fixed in the 4.7.1 release. A patch was also attached to the bug report if you cannot wait for the release.