In Qt 6.9 DelegateModel moved from labs to QtModels. They removed the old reference. This leads to klipper not loading: qrc:/qt/qml/org/kde/plasma/private/clipboard/ClipboardMenu.qml:210:9: QtLabsModel.DelegateChoice is not a type We ideally want a relatively generic solution
Fix is easy! We just use an anonymous namespace for both and then the relevant thing will load. plasma-firewall/kcm/ui/main.qml also needs a fix
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4978
Git commit b192235d5560c562a17e51d51e9da332b36e08c7 by Fushan Wen, on behalf of Manuel Alcaraz Zambrano. Committed on 05/12/2024 at 04:15. Pushed by fusionfuture into branch 'master'. Fix DelegateChoice import with Qt 6.9 DelegateChoice is part of QtQml.Models with Qt 6.9 with commit qt/qt/qtdeclarative@55c3b94035787ea265c5ff6e3c271d7154186def. M +6 -5 klipper/declarative/qml/ClipboardMenu.qml https://invent.kde.org/plasma/plasma-workspace/-/commit/b192235d5560c562a17e51d51e9da332b36e08c7
Git commit 6b014a7ee190d590e7bd900f8bd974ea8e137912 by Fushan Wen. Committed on 05/12/2024 at 04:16. Pushed by fusionfuture into branch 'Plasma/6.2'. Fix DelegateChoice import with Qt 6.9 DelegateChoice is part of QtQml.Models with Qt 6.9 with commit qt/qt/qtdeclarative@55c3b94035787ea265c5ff6e3c271d7154186def. (cherry picked from commit b192235d5560c562a17e51d51e9da332b36e08c7) Co-authored-by: Manuel Alcaraz Zambrano <manuelalcarazzam@gmail.com> M +6 -5 klipper/declarative/qml/ClipboardMenu.qml https://invent.kde.org/plasma/plasma-workspace/-/commit/6b014a7ee190d590e7bd900f8bd974ea8e137912
*** Bug 497658 has been marked as a duplicate of this bug. ***