Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. [Solved] How can I disable Antialiasing for the Sceen Graph OpenGL Context? [Qt 5.3.1]
Forum Update on Monday, May 27th 2025

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

Scheduled Pinned Locked Moved QML and Qt Quick
2 Posts 1 Posters 1.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Bugtracker
    wrote on last edited by
    #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?

    1 Reply Last reply
    0
    • B Offline
      B Offline
      Bugtracker
      wrote on last edited by
      #2

      Problem Solved:

      @QOpenGLFramebufferObject* SceneRenderer::createFramebufferObject(const QSize &size)
      {
      QOpenGLFramebufferObjectFormat format;
      format.setAttachment(QOpenGLFramebufferObject::CombinedDepthStencil);
      format.setSamples(0);
      return new QOpenGLFramebufferObject(size, format);
      }@

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved