Bug 477349 - ListItemDragHandle's code example doesn't really work
Summary: ListItemDragHandle's code example doesn't really work
Status: CONFIRMED
Alias: None
Product: frameworks-kirigami
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: Master
Platform: Other Linux
: NOR normal
Target Milestone: Not decided
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-22 00:57 UTC by Weng Xuetian
Modified: 2024-09-08 20:53 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
copy-pasted example (1.17 KB, text/x-qml)
2023-11-22 00:57 UTC, Weng Xuetian
Details

Note You need to log in before you can comment on or make changes to this bug.
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