How can QOpenGLWidget update not result in paintGL events?

前端 未结 1 626
無奈伤痛
無奈伤痛 2021-01-07 03:30

I\'m logging calls to update() and paintGL(), but somehow, only update happens. paintGL is called a couple of times and then never again! How is

相关标签:
1条回答
  • 2021-01-07 03:53

    My QOpenGLWidget was in a QScrollArea, which was not forwarding QPaint events.

    0 讨论(0)
提交回复
热议问题