With Qt 5.0 we had to create a QWindow inorder to make a QOpenGLContext current. In Qt 5.1 we have the option of using a QOffscreenSurface instead. On platforms like X11 the results will be the same, but on OpenGL based platforms the QOffscreenSurface will use a pbuffer.
Created attachment 205809 [details] Patch
Comment on attachment 205809 [details] Patch Nice!
Comment on attachment 205809 [details] Patch Clearing flags on attachment: 205809 Committed r152222: <http://trac.webkit.org/changeset/152222>
All reviewed patches have been landed. Closing bug.