see https://github.com/ghorwin/OpenGLWithQt-Tutorial/blob/master/LICENSE Source code is based on Qt Example OpenGLWindow, but has been simplified a lot.