Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Rounded image using shaders

Rounded image using shaders

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 747 Views 1 Watching
  • 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 Offline
    A Offline
    AlterX
    wrote on last edited by
    #1

    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
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved