Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.6.0
-
None
-
None
-
26ded29b31c71ff43036798015cb1c77aae427e3, 5b6815ba1d6d82687b8244172482bb089210c8d2
Description
The qmake feature file, mkspecs/egl.prf. supports changing the default name for OpenGL ES libraries to use. This support is not used consistently and results in one module using different OpenGL ES library names than others leading to linking errors.
Test case:
1) append to the devices mkspecs/wincewm60professional-msvc2008/qmake.conf
QMAKE_LIBS_EGL=libgles_cm.lib
2) run configure.exe like:
e:\depot\qt\kinetic\configure -platform win32-msvc2008 -xplatform wincewm60professional-msvc2008 -opengl-es-cm
3) note that libgles_cm.lib is not mentioned in a Makefile such as src/gui/Makefile.Debug and src/opengl/Makefile.Debug rather libGLES_CM.lib