Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.0.0
-
None
-
Linux, Qt5 public repo, SHA of QtDeclarative : 83eb5ba0082cee15a5ca01000084c07fdb19af76
Description
If you run the attached test case clicking on the blue rectangle should delete the red one. It doesn't and display a warning : <Unknown File>:1: Error: Invalid attempt to destroy() an indestructible object. According the documentation this warning is valid only for C++ created objects. There are none here and it was working fine in Qt Quick 1.1.
Attachments
Issue Links
- is duplicated by
-
QTBUG-20513 Dynamically created Objects cannot be destroyed because indestructible flag is set
- Closed
- relates to
-
QTBUG-20454 Indestructible flag in QDeclarativeData doesn't have default value when zeroed
- Closed
-
QTBUG-106011 Cannot use Loader to load a closed Window
- Reported
-
QTBUG-95895 REG 5.15 -> 6.2: destroy() does not destroy objects after appending listModel.
- Closed
-
QTBUG-10328 Error when calling destroy() in 'dynamic' example
- Closed