Not able to run qt quick2 application



  • I am getting following error when i run qt quick2 application in qt 5.1

    getProcAddress: Unable to resolve 'glCreateProgramARB'
    getProcAddress: Unable to resolve 'glCreateProgramObject'
    getProcAddress: Unable to resolve 'glCreateProgramObjectARB'
    QOpenGLShaderProgram: could not create shader program
    getProcAddress: Unable to resolve 'glCreateShader'
    getProcAddress: Unable to resolve 'glCreateShaderARB'
    getProcAddress: Unable to resolve 'glCreateShaderObject'
    getProcAddress: Unable to resolve 'glCreateShaderObjectARB'
    QOpenGLShader: could not create shader
    List of attribute names is either too long or not null-terminated.
    Maximum number of attributes on this hardware is 0.
    Vertex shader:
    attribute highp vec4 vertexCoord;
    attribute highp vec4 vertexColor;
    uniform highp mat4 matrix;
    uniform highp float opacity;
    varying lowp vec4 color;
    void main() {
    gl_Position = matrix * vertexCoord;
    color = vertexColor * opacity;
    }
    Fragment shader:
    varying lowp vec4 color;
    void main() {
    gl_FragColor = color;
    }


  • Moderators

    just searching for the first error line gave me "this":http://qt-project.org/forums/viewthread/29583.
    Do you also use mingw compiler with the Qt ANGLE version?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.