Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-125962

application crash when using View3d in singleton

    XMLWordPrintable

Details

    • Windows

    Description

      View3d is created in qml singleton. There are two windows. I recreate the windows in C++ code and the engine is recreated the same way. When I try to destroy the main window by calling delete, I get a crash of the application. 
      Note: This has something to do with the Item inside Node. If I remove Item element, the crash will not reproduce

                  Node {
                      PerspectiveCamera {
                          id: cameraPerspectiveOne
                          z: 600
                      }
                      Item {
                          width: 10
                          height: 10
                      }
                      PropertyAnimation on eulerRotation.x {
                          loops: Animation.Infinite
                          duration: 5000
                          to: -360
                          from: 0
                      }
                  }

      I've attached example.

       

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              qt.team.graphics.and.multimedia Qt Graphics Team
              aleksandr.nekrasov Aleksandr Nekrasov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes