问题
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
回答1:
Making the widget resizable seemed to fix the problem.
来源:https://stackoverflow.com/questions/6005368/qglwidget-in-qscrollarea-says-invalid-drawable