Comment 2 for bug 791322

Revision history for this message
Kei Okada (k-okada) wrote :

I had armhf environment and had a same issue, had confirmed following patch works for me, so my suggestion is

1. compile without SOQT_DEBUG option
2. do not read gl.h for GLES environment

```
diff -r src/Inventor/Qt/SoQtGLWidget.cpp src.org/Inventor/Qt/SoQtGLWidget.cpp
1297,1301d1296
< #if defined(QT_OPENGL_ES_1) || defined(QT_OPENGL_ES_2)
< // gl.h included from glx.h defines GLdouble, which
< // is already incldue in qgl.h for ESGL environment
< #define __gl_h_
< #endif
diff -r src/Inventor/Qt/SoQtRenderArea.cpp src.org/Inventor/Qt/SoQtRenderArea.cpp
164,165c164,165
< //#include <qgl.h>
< //#include <qapplication.h>
---
> #include <qgl.h>
> #include <qapplication.h>
``