QOpenGLShader::compile(Vertex): 0:1(10): error: GLSL 1.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
*** Problematic Vertex shader source code ***
#version 150 core
#define lowp
#define mediump
#define highp
#line 1
attribute highp vec2 vertex;
void main() {
gl_Position = vec4( vertex, 0., 1. );
}
***
QOpenGLShader::compile(Fragment): 0:1(10): error: GLSL 1.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
*** Problematic Fragment shader source code ***
#version 150 core
#define lowp
#define mediump
#define highp
#line 1
uniform lowp float opacity;
uniform lowp vec4 color;
uniform highp float width;
smooth in float dist;
void main() {
lowp float feather = ( width < 1.00001 ? width :
1.0 - smoothstep( 0.65, 1.0, abs(dist) ) );
gl_FragColor = color * opacity * feather;
}