Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QT painter - tear issue.
ananth raj last edited by
I have inherited the qtopengl - then the image in opencv Mat array is converted in to Q image,
then using QPainter i just painted the frames from the camera -
the tear issue is comming in the video .
when i save the video or the image its fine.
when i use imshow in opencv for display and the adjusting the force composition pipeline on the tear is not coming but the same thing not working in the QPainter disaplay ,
f.i: the video from the camera rendering in 60 frames per second.
You have reimplemented paintEvent(...) to show the images. Apart from drawing image what else are you doing inside the paintEvent(..) function ? Is there some operation inside the function taking time ?