hello,

I know this was a long time ago, but did you ever figure out the context problem?

On my system (Windows XP, Qt 4.5.1) I found setting the context manually does not work and the only way to enable multisampling was through the constructor:
Qt Code:
  1. MyWidget:: MyWidget(QWidget *parent):QGLWidget(QGLFormat(QGL::SampleBuffers), parent)
To copy to clipboard, switch view to plain text mode 

I got the hint from this article that setContext() has problems: http://doc.trolltech.com/qq/qq06-glimpsing.html

hope that helps someone,
Richard