Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QT creator error after compilation (running on Linux) sry, noobie stuff...



  • Error:
    QOpenGLShaderProgram: could not create shader program
    QOpenGLShader: could not create shader
    QSGMaterialShader: Shader compilation failed:

    Why?



  • Addendum:

    I think it's just a installation problem because it never worked after I installed the QT today..


    QSGMaterialShader: Shader compilation failed:
    ""
    QOpenGLShaderProgram::uniformLocation( matrix ): shader program is not linked
    QOpenGLShaderProgram::uniformLocation( textureScale ): shader program is not linked
    QOpenGLShaderProgram::uniformLocation( color ): shader program is not linked
    QOpenGLShaderProgram::uniformLocation( alphaMin ): shader program is not linked
    QOpenGLShaderProgram::uniformLocation( alphaMax ): shader program is not linked
    QOpenGLShaderProgram: could not create shader program
    QOpenGLShader: could not create shader
    QSGMaterialShader: Shader compilation failed:
    ""
    QOpenGLShaderProgram::uniformLocation( matrix ): shader program is not linked
    QOpenGLShaderProgram::uniformLocation( textureScale ): shader program is not linked
    QOpenGLShaderProgram::uniformLocation( color ): shader program is not linked
    QOpenGLShaderProgram::uniformLocation( alphaMin ): shader program is not linked
    QOpenGLShaderProgram::uniformLocation( alphaMax ): shader program is not linked
    QOpenGLShaderProgram::uniformLocation( fontScale ): shader program is not linked
    QOpenGLShaderProgram::uniformLocation( vecDelta ): shader program is not linked


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    What are you running ?



  • Hi, thanks!

    Im running 5.1.1 on ubuntu... must be an installation problem because it seems that OpenGL stuff is not properly linked...


Log in to reply