Hi all, Sorry if this is slightly off-topic.
I'm working with a QGLWidget-based widget. I know it's deprecated, but I'm tied to it for the moment since I'm working with VTK (something QOpenGLWidget-based will come eventually..). I have a need to enable sample buffers and set the number of samples, to enable anti-aliasing. I thought I could do (self is the QGLWidget): glFormat = self.format() glFormat.setSampleBuffers(True) glFormat.setSamples(8) self.setFormat(glFormat) But realize now that setFormat has been made obsolete in Qt 5, and PyQt as a policy does not wrap obsolete stuff. Am I screwed or is there some other way to do this? Thanks for any help, Elvis _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest