OpenGL ES dashed line in Qt



  • It took a dotted line. For this you need this:

    glLineStipple(1, 0xAAAA);
    glDrawArrays(GL_LINE_STRIP, 0, 4);
    

    But it does not compile. Does not find implementation of the function in QOpenGLFunctions. Although it is standard. And the problem is in Qt, I draw in QQuickFramebufferObject.
    Can anyone help me?


Log in to reply
 

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