How to achieve vsync using only QPainter on a QGLWidget?

Printable View