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

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -

jdbc - Not able to establish database connection in eclipse -