c++ - Render QWidget in OpenGL -


i have opengl application , add gui it.

my problem want keep way of creating window , mainloop. in fact, want keep application , add widgets interact scene...

i know can use opengl renderer overloading qapplication creates window , create opengl context don't want... know can use qglwidget render opengl scene doesn't fit want too...

i searched on many forums without finding solution. want know if it's possible , if yes, way achieved ?

if it's not possible it, there way ? seems cegui can in opinion seems bit young no ?

my problem want keep way of creating window , mainloop.

to use qt widget system must use qapplication , event system spawn. can't have 2 event loops battling between same resources (windows, user input, signal reception , delivery).

in fact, want keep application , add widgets interact scene...

then beautiful rolling stones song applies you: "you can't want…"

btw? how creating window right now? glut? deriving qglwidget , overriding resizegl, paintgl , timerevent 0 delay timer double idle , mouse*event methods give quite same behavior glut has.

you might find qt's framework , event system need.


Comments

Popular posts from this blog

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -