开发者

QGLWidget in QScrollArea says "invalid drawable"

开发者 https://www.devze.com 2023-03-05 18:37 出处:网络
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:

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


Making the widget resizable seemed to fix the problem.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号