Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
5.6.1, 5.7.0
-
None
Description
The various QSG_VISUALIZE modes don't work at all when using a core profile. Doing so dumps errors on the console:
Failed to find shader ":/qt-project.org/scenegraph/shaders/visualization_core.vert" QOpenGLShader::compile(Vertex): 0:1(8): error: syntax error, unexpected $end *** Problematic Vertex shader source code *** #define lowp #define mediump #define highp #line 1 *** Failed to find shader ":/qt-project.org/scenegraph/shaders/visualization_core.frag" QOpenGLShader::compile(Fragment): 0:1(8): error: syntax error, unexpected $end *** Problematic Fragment shader source code *** #define lowp #define mediump #define highp #line 1 *** QOpenGLShader::link: error: no shaders attached to the program QOpenGLShader::link: error: no shaders attached to the program QOpenGLShaderProgram::uniformLocation( color ): shader program is not linked QOpenGLShaderProgram::uniformLocation( pattern ): shader program is not linked QOpenGLShaderProgram::uniformLocation( projection ): shader program is not linked QOpenGLShaderProgram::uniformLocation( matrix ): shader program is not linked QOpenGLShaderProgram::uniformLocation( rotation ): shader program is not linked QOpenGLShader::link: error: no shaders attached to the program QOpenGLShader::link: error: no shaders attached to the program QOpenGLShader::link: error: no shaders attached to the program QOpenGLShader::link: error: no shaders attached to the program QOpenGLShader::link: error: no shaders attached to the program QOpenGLShader::link: error: no shaders attached to the program QOpenGLShader::link: error: no shaders attached to the program QOpenGLShader::link: error: no shaders attached to the program QOpenGLShader::link: error: no shaders attached to the program