Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.6.0
-
None
-
Cross compilation i.MX6 ARMv7 Yocto Jethro with meta-qt5
-
07d55b154e19f3f4f8525b541c44500273be70ab
Description
imx6/qsgvivantevideomaterial.cpp and imx6/qsgvivantevideonode.cpp contain the following includes:
#include <GLES2/gl2.h>
#include <GLES2/gl2ext.h>
...
The other includes below reference "qopengl.h" (QtBase GUI) which ends up in line 121:
...
#else // non-ES2 platforms
- if defined(Q_OS_MAC)
- include <OpenGL/gl.h>
- if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_7
- define GL_DO_NOT_WARN_IF_MULTI_GL_VERSION_HEADERS_INCLUDED
- include <OpenGL/gl3.h>
- endif
- include <OpenGL/glext.h>
- else
- define GL_GLEXT_LEGACY // Prevents GL/gl.h from #including system glext.h
- include <GL/gl.h>
- include <QtGui/qopenglext.h> <<<<<
- endif // Q_OS_MAC
#endif // QT_OPENGL_ES_2
At this point various typedef conflict happen (e.g. typedef khronos_ssize_t GLsizeiptr) and the QtMultimedia build cannot succeed.