Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. 5.9 update slows application exit
Qt 6.11 is out! See what's new in the release blog

5.9 update slows application exit

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 2 Posters 953 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    elstagiero
    wrote on last edited by
    #1

    Hello.

    I use QOpenGLWidget in the application I'm working on. Since the 5.9 update, the application takes ages to exit and free memory. It used to be instantaneous in 5.8. The problem seems to be the QOpenGLWidget destruction.

    Any suggestions/ideas to help ?

    Thanks.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      One thing you can do is try to find the hot path when your application exit to see why it's slowing down.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      E 1 Reply Last reply
      1
      • SGaistS SGaist

        Hi and welcome to devnet,

        One thing you can do is try to find the hot path when your application exit to see why it's slowing down.

        E Offline
        E Offline
        elstagiero
        wrote on last edited by elstagiero
        #3

        @SGaist said in 5.9 update slows application exit:

        One thing you can do is try to find the hot path when your application exit to see why it's slowing down.

        Hello and thanks for the answer. What do you mean by "hot path ?" And how can you find it ?

        1 Reply Last reply
        0
        • E Offline
          E Offline
          elstagiero
          wrote on last edited by
          #4

          The problem seems to be linked to the number of VAO (QOpenGLVertexArrayObject) created, even if there is no binding nor allocation. Using the destroy() function does not change anything. To me, the 5.9 update introduces a new way of cleaning up VAO but I can't find the changes to make in order to have the previous behaviour (5.8).

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Did you took a look at the release files in the dist subfolder ?

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved