Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when loading widget (not working at all) #77

Open
tonyrulez opened this issue Jan 30, 2019 · 7 comments
Open

Error when loading widget (not working at all) #77

tonyrulez opened this issue Jan 30, 2019 · 7 comments

Comments

@tonyrulez
Copy link

tonyrulez commented Jan 30, 2019

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

@aaronpuchert
Copy link

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.

@aaronpuchert
Copy link

See also #71, which is exactly the same issue.

@Vistaus
Copy link

Vistaus commented Feb 18, 2019

Same error here. Was working fine with Qt 5.11, but since the upgrade to 5.12.1 today, it started displaying this error.

@aaronpuchert
Copy link

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.)

@aaronpuchert
Copy link

Then you shouldn't get an error that QtQuick.XmlListModel is missing. Did you restart the Plasma shell?

@Vistaus
Copy link

Vistaus commented Feb 18, 2019

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.

@aaronpuchert
Copy link

I suspect the latter, because if /usr/lib[64]/qt5/qml/QtQuick/XmlListModel is there, the error message doesn't make sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants