Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Qt Academy Launch in California!

    Rounded image using shaders

    QML and Qt Quick
    1
    1
    627
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      AlterX last edited by

      Hi all,
      I'm trying a piece of code got from another "thread":http://qt-project.org/forums/viewthread/7037/#152716 testing it on nokia n9 (but I think problem could be another one); at runtime I get this compilation error:
      @
      QGLShaderProgram::addShader: Program and shader are not associated with same context.
      QGLShaderProgram::addShader: Program and shader are not associated with same context.
      QGLShader::link: "Link Error: Vertex shader is missing.
      Link Error: Fragment shader is missing.
      "
      ShaderEffectItem: Shader compilation failed:
      "Link Error: Vertex shader is missing.
      Link Error: Fragment shader is missing.
      "
      QGLShader::link: "Link Error: Vertex shader is missing.
      Link Error: Fragment shader is missing.
      "
      QGLShaderProgram::uniformLocation( qt_ModelViewProjectionMatrix ): shader program is not linked
      QGLShaderProgram::addShader: Program and shader are not associated with same context.
      QGLShaderProgram::addShader: Program and shader are not associated with same context.
      QGLShader::link: "Link Error: Vertex shader is missing.
      @

      I've put in my project all Nokia suggested stuff to use shaders.

      Thanks in advance

      Qt Ambassador
      Real-time cooperative teams: http://www.softairrealfight.net
      Free Real-time network platform sdk: https://github.com/AlterX76/Solomon

      https://codereview.qt-project.org/...

      1 Reply Last reply Reply Quote 0
      • First post
        Last post