How to renderPixmap in QOpenGLWidget
Re: Migrating from QGLWidget to QOpenGLWidget
Since QGLWidget is upgraded to QOpenGLWidget, there are several functions missing in the current Qt version, such as renderPixmap().
But now I want to do "screen capture" on my QOpenGLWidget but I don't know how since there is no renderPixmap().
Is there any way to do so?
Thanks very much!