Crash when setting QSurfaceFormat samples count when threading rendering

  • Hi all !
    Take the "threadedopengldemo" example, and just add a format.setSamples(1); in the main function.
    The program should crash (at least for me) with a Cannot make QOpenGLContext current in a different thread error.

    Is this behaviour intended or is this a bug ? If it is intended, is there any way to work around this ?

    Thanks in advance,

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.