openscad fails to build (due to Qt5.15?)
From the buildlog:
https://build.alpinelinux.org/buildlogs/build-edge-armv7/testing/openscad/openscad-2019.05-r2.log
In file included from /usr/include/QtGui/qopengl.h:105,
from /usr/include/QtWidgets/qopenglwidget.h:49,
from /usr/include/QtWidgets/QOpenGLWidget:1,
from src/QGLView.h:7,
from src/QGLView.cc:28:
/usr/include/GLES3/gl32.h:75:25: error: conflicting declaration 'typedef khronos_ssize_t GLsizeiptr'
75 | typedef khronos_ssize_t GLsizeiptr;
| ^~~~~~~~~~
In file included from src/system-gl.h:4,
from src/QGLView.h:3,
from src/QGLView.cc:28:
/usr/include/GL/glew.h:1694:19: note: previous declaration as 'typedef ptrdiff_t GLsizeiptr'
1694 | typedef ptrdiff_t GLsizeiptr;
| ^~~~~~~~~~
In file included from /usr/include/QtGui/qopengl.h:105,
from /usr/include/QtWidgets/qopenglwidget.h:49,
from /usr/include/QtWidgets/QOpenGLWidget:1,
from src/QGLView.h:7,
from src/QGLView.cc:28:
/usr/include/GLES3/gl32.h:76:26: error: conflicting declaration 'typedef khronos_intptr_t GLintptr'
76 | typedef khronos_intptr_t GLintptr;
| ^~~~~~~~
In file included from src/system-gl.h:4,
from src/QGLView.h:3,
from src/QGLView.cc:28:
/usr/include/GL/glew.h:1693:19: note: previous declaration as 'typedef ptrdiff_t GLintptr'
1693 | typedef ptrdiff_t GLintptr;
| ^~~~~~~~
In file included from /usr/include/QtGui/qopengl.h:105,
from /usr/include/QtWidgets/qopenglwidget.h:49,
from /usr/include/QtWidgets/QOpenGLWidget:1,
from src/QGLView.h:7,
from src/QGLView.cc:28:
/usr/include/GLES3/gl32.h:526:60: error: 'void __glewActiveTexture(GLenum)' redeclared as different kind of entity
526 | GL_APICALL void GL_APIENTRY glActiveTexture (GLenum texture);
| ^
I guess maybe Qt5.15 causes that?
@maribu since you're the maintainer.