Please nominate your Qt Champions for 2021! https://forum.qt.io/topic/132134/looking-for-the-2021-qt-champions

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