OpenCV with openGL blank screen

Hi,
This looks similar to
Black images with Qt5 and OpenGL - #7 by dominik.zebec
Please check the post and see if it helps.