Search code examples
qtopenglpyqtqglwidget

QGLWidget in QScrollArea says "invalid drawable"


When I display my QGLWidget in the layout of my main QWidget, everything is fine. When I put the QGLWidget into a QScrollArea, and then display, Python says:

2011-05-14 19:10:28.900 Python[68311:613] invalid drawable

Solution

  • Making the widget resizable seemed to fix the problem.