-
Type:
Bug
-
Status: Closed
-
Priority:
P2: Important
-
Resolution: Done
-
Affects Version/s: 4.8.x
-
Fix Version/s: 4.8.6
-
Component/s: (Inactive) QtQuick (version 1)
-
Labels:
-
Commits:qt/9cfac2e38cde24a2fbca4c1cebcf7a771443894a
Trying to align a rectangle with the current item inside a ListView, I discovered that qt would segfault whenever I called mapToItem on the listview's contentItem.
Backtracing I see that this is caused by QDeclarativeEngine::contextForObject(ptr_to_listViewContentItem) returning 0, which is dereferenced in QDeclarativeItem::mapToItem.
See the attached minimal example.