Alright, with much time and an extensive amout of google search I managed to cobble a working QOpenGLWidget program together. I used this official Qt-Example as a basline: here is the combination with my Tesseract code It's working, yeah me!!, but I have the feeling that it's far from ideal. I'm just glad I managed to draw something in 3d. Anyway, closed and solved.