Modified to use some QOpenGLFunctions
compiles but go graphics on Window