3

I recently updated to Qt 5.9. The application I'm working on uses QOpenGLWidget and QOpenGLBuffers. I noticed that since Qt 5.9, the QOpenglWidget destruction is really slow and makes the application exits really slowly.

Any suggestions/ideas to help?

[EDIT] It seems to be linked to the number of VAO (QOpenGLVertexArrayObject) created. Qt 5.9 must have changed the way the VAOs are cleaned up. Using the destroy() function does not change anything.

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
M. Brigaud
  • 126
  • 6
  • 2
    That should be really easy to figure out. Use a debug build of Qt, exit the application, stop it in the debugger, and see where it's stuck. No different really than if it was stuck somewhere in your own code. – Kuba hasn't forgotten Monica Jun 13 '17 at 13:22

0 Answers0