Please nominate your Qt Champions for 2021!

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