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. Qt6.3.x/6.4.x run Example openglseries under debug mode assert trigged.
Forum Updated to NodeBB v4.3 + New Features

Qt6.3.x/6.4.x run Example openglseries under debug mode assert trigged.

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 5 Posters 595 Views
  • 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.
  • M Offline
    M Offline
    michael_su
    wrote on last edited by
    #1

    in Qt Creator, click left button "Welcome", search example "opengl chart", you can find the example

    just open this example and run debug version, when close the window, it should be shown.

    and if change code from "series->setUseOpenGL(true);" to "series->setUseOpenGL(false); ", the assertion is not shown when application closed.

    qt_assert.png
    21:08:30: Starting D:/Qt/Examples/Qt-6.3.1/charts/build-openglseries-Desktop_Qt_6_3_1_MSVC2019_64bit-Debug/debug/openglseries.exe...
    ASSERT failure in GLWidget: "Called object is not of the correct type (class destructor may have already run)", file C:\Users\qt\work\install\include\QtCore/qobjectdefs_impl.h, line 156
    21:14:35: D:/Qt/Examples/Qt-6.3.1/charts/build-openglseries-Desktop_Qt_6_3_1_MSVC2019_64bit-Debug/debug/openglseries.exe exited with code 3

    1 Reply Last reply
    2
    • Z Offline
      Z Offline
      Zorg
      wrote on last edited by
      #2

      Same question. Is anybody know how to solve?

      Christian EhrlicherC 1 Reply Last reply
      0
      • Z Zorg

        Same question. Is anybody know how to solve?

        Christian EhrlicherC Offline
        Christian EhrlicherC Offline
        Christian Ehrlicher
        Lifetime Qt Champion
        wrote on last edited by
        #3

        @Zorg said in Qt6.3.x/6.4.x run Example openglseries under debug mode assert trigged.:

        know how to solve?

        Upgrade to a newer version.
        This is due to a missing disconnect() somehwere for a pmf-style connect when the receiver already got destroyed / dtor was already run.

        Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
        Visit the Qt Academy at https://academy.qt.io/catalog

        P 1 Reply Last reply
        0
        • Christian EhrlicherC Christian Ehrlicher

          @Zorg said in Qt6.3.x/6.4.x run Example openglseries under debug mode assert trigged.:

          know how to solve?

          Upgrade to a newer version.
          This is due to a missing disconnect() somehwere for a pmf-style connect when the receiver already got destroyed / dtor was already run.

          P Offline
          P Offline
          p_Each
          wrote on last edited by
          #4

          @Christian-Ehrlicher I still have the same problem on qt 6.6 so I guess it hasn't been fixed yet. Any other workaround?

          Christian EhrlicherC 1 Reply Last reply
          0
          • P p_Each

            @Christian-Ehrlicher I still have the same problem on qt 6.6 so I guess it hasn't been fixed yet. Any other workaround?

            Christian EhrlicherC Offline
            Christian EhrlicherC Offline
            Christian Ehrlicher
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @p_Each said in Qt6.3.x/6.4.x run Example openglseries under debug mode assert trigged.:

            Any other workaround?

            Fix it by yourself and create a bug report.

            Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
            Visit the Qt Academy at https://academy.qt.io/catalog

            1 Reply Last reply
            0
            • J Offline
              J Offline
              jasonddd
              wrote on last edited by jasonddd
              #6
              This post is deleted!
              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