PDA

View Full Version : add qt widgets to opengl widget



saman_artorious
10th April 2013, 12:28
I cannot drag n drop push button, frames n whatever else to a glwidget. if I drop a QLCD inside glwidget it does not show it as it renders its own graphics over it. though if I scale the glwidget in ui and cover qlcd, it shows it in white. although this may sound satisfying, I cannot insert QFrame and by menu inside the glwidget. it renders over glwidget. In visual studio this feature is automatically activated, so you can easily put menus n items inside the graphics widget. do you have any idea how we can resolve this?

wysota
17th April 2013, 23:39
You can't easily mix widgets and OpenGL. I don't say this is not possible but in general you shouldn't even try to do it. Why do you need it anyway?