Bug 477349

Summary: ListItemDragHandle's code example doesn't really work
Product: [Frameworks and Libraries] frameworks-kirigami Reporter: Weng Xuetian <wengxt>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: nate, notmart
Priority: NOR    
Version First Reported In: Master   
Target Milestone: Not decided   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: copy-pasted example

Description Weng Xuetian 2023-11-22 00:57:51 UTC
Created attachment 163350 [details]
copy-pasted example

SUMMARY

STEPS TO REPRODUCE
1. copy the example in ListItemDragHandle
2. run with qml6

OBSERVED RESULT
ReferenceError: model is not defined

EXPECTED RESULT
example works
Comment 1 ratijas 2023-12-12 23:25:57 UTC
And the reason for that is kinda described plain-text on the Loader QML Type documentation page

https://doc.qt.io/qt-6/qml-qtquick-loader.html