I built the 1.9-bzr branch (which includes the patch in comment 49), however it causes a crash for me (Qt 4.6.2 and 4.7.1). I think it's an issue with Qt, so I filed a bug with them:
http://bugreports.qt.nokia.com/browse/QTBUG-17284
Meanwhile, the patch doesn't validate the QGLContext pointer, nor does it verify that QGLContext::create() was successful.
I built the 1.9-bzr branch (which includes the patch in comment 49), however it causes a crash for me (Qt 4.6.2 and 4.7.1). I think it's an issue with Qt, so I filed a bug with them:
http:// bugreports. qt.nokia. com/browse/ QTBUG-17284
Meanwhile, the patch doesn't validate the QGLContext pointer, nor does it verify that QGLContext: :create( ) was successful.