multithreading - Rendering into QGLWidget that runs at a different thread than main -
i managed start qapplication @ different thread main , run qglwidget there, however, when ever try execute opengl command in main thread gl invalid operation error. suspect if having gl context in different thread couldn't find way context of qglwidget , set current in main thread qglwidget runs on different thread .
any suggestions?
note:i need have seperae threat gui , opengl computations.
you should have qapplication in main thread (gui in main thread) , computations can move other threads. not gui, main thread gui (qapplication).
Comments
Post a Comment