Important: Please read the Qt Code of Conduct -

[Solved] How can I disable Antialiasing for the Sceen Graph OpenGL Context? [Qt 5.3.1]

  • I use QQuickFramebufferObject::Renderer to draw my QQuickItem with native OpenGL.
    I use the OpenGL context of the Scene Graph.
    So how can i disable MSAA for these context?

    PS . Is the context version of the scene graph always opengl 4.2?

  • Problem Solved:

    @QOpenGLFramebufferObject* SceneRenderer::createFramebufferObject(const QSize &size)
    QOpenGLFramebufferObjectFormat format;
    return new QOpenGLFramebufferObject(size, format);

Log in to reply