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

application crash when using View3d in singleton

XMLWordPrintable

    • Windows

      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.

       

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

            stromme Christian
            aleksandr.nekrasov Aleksandr Nekrasov
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes