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

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