Important: Please read the Qt Code of Conduct -

Glhypnotizer, PaintOutsidePaintEvent and render outside the main loop?

  • For code organization I need to call OpenGL from another thread.

    I am trying to follow the glhypnotizer example at ( and want to silence the makecurrent() function, but can't get it work in modern Qt5. For example, PaintOutsidePaintEvent is missing when I grep the Qt source...

    How can I render OpenGL onto a widget from another thread?

    @while (true)
    {// the dream
    auto foo=somework()

Log in to reply