Qt and vsync / breaks

Does anyone know a simple way to force vsync in Qt when displaying an image on QLabel? Basically, I transfer the stream of images from the processed video clip (therefore, without using Phonon multimedia), and the frame rate is very high. Unfortunately, this breaks a lot.

Any help is greatly appreciated.

+5
source share
1 answer

Try using QtOpenGL. You can implement your widget over QGLWidget. It will be displayed using opengl, which will depend on vblank if you set this option in your os.

+2
source

All Articles