How to add a QGLWidget into a QGraphicsView?
Recently, I work on some widget with OpenGL, so I use some subclass of QGLWidget which work nicely on another application. When I add this widget to QGraphicsView, it turn nothing on it. With web site search result, I read the artical like this:
and I do as those artical instruction, set QGLWidget as QGraphicsView's Viewport with function "setViewport", but no luck wtih me.
Is there some step I missing or Windows didn't support this? or some error I didn't noticed?
Is anybody know how to add QGLWidget into QGraphicsView and make it work properly? Any information will be thankful.
Is new Qt version will make change about this？