Added TODO: try offscreen rendering using pbuffer: http://qt-project.org/doc/qt-5/qglpixelbuffer.html
working example: http://qt-project.org/doc/qt-4.8/opengl-pbuffers-glwidget-cpp.html