Important: Please read the Qt Code of Conduct -

QWindow::setFormat() vs. QOpenGLContext::setFormat()

  • Could someone explain to me how those two functions relate to each other? Does QSurfaceFormat instance has to be the same for QWindow and QOpenGLContext, or maybe I can pass different configurations (if so, how this affect framebuffer and overall my code)?

    Thanks in advance for any helpful replies! :D

Log in to reply