Does anyone know of an easy way to enforce vsync in Qt, when displaying an image onto a QLabel
? Basically, I'm rendering a stream of images from a processed video clip (hence not using Phonon multimedia), and the framerate is very high. Unfortunately, this is giving a lot of tearing.
Any help much appreciated.
Try using QtOpenGL. You can implement your widget over QGLWidget. It will render using opengl, that will sinc to vblank if you set this option in your os.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With