Simple rendering framework using QT and OpenGL