Open tonyrulez opened 5 years ago
I got the same error. As the message says, the module QtQuick.XmlListModel
is missing. The Qt docs tell us that the module is part of “Qt XML Patterns”, so I installed the package for that. (On OpenSUSE it was libqt5-qtxmlpatterns-imports
. You know you have the right package when it contains something like /usr/lib64/qt5/qml/QtQuick/XmlListModel
.) Don't forget to restart plasmashell
, for example by logging out and in again.
If you use a distro-provided package, tell the packagers to add the package as dependency.
See also #71, which is exactly the same issue.
Same error here. Was working fine with Qt 5.11, but since the upgrade to 5.12.1 today, it started displaying this error.
Did you make sure you also have the QML part of the package? On openSUSE they decided to separate this part. As I wrote, you need to make sure that this is available. (It might be in /usr/lib
though.)
Then you shouldn't get an error that QtQuick.XmlListModel
is missing. Did you restart the Plasma shell?
I even restarted my computer, but it's still not working. So I think additional changes by @kotelnik are needed in order to make it compatible with Qt 5.12
Edit: or additional files are needed. I just poked the Solus devs.
I suspect the latter, because if /usr/lib[64]/qt5/qml/QtQuick/XmlListModel
is there, the error message doesn't make sense.
After adding the widget on a freshly installed Manjaro KDE I get this error:
file:///home/XXXXX/.local/share/plasma/plasmoids/org.kde.weatherWidget/contents/ui/main.qml:113:5:Type YrNo unavailable. file:///home/XXXXX/.local/share/plasma/plasmoids/org.kde.weatherWidget/contents/ui/providers/OpenWeatherMap.qml:18:1: module "QtQuick.XmlListModel" is not installed
Unfortunately this is all I get, the widget is completely broken. Same feedback in KDE Store link