I-Dream-in-Code / kde-arch-update-plasmoid

30 stars 9 forks source link

module "QtQuick.XmlListModel" is not installed #40

Open navarroaxel opened 5 years ago

navarroaxel commented 5 years ago

I'm getting this error after a full upgrade of Arch Linux:

Error loading QML file: file:///usr/share/plasma/plasmoids/org.kde.archUpdate/contents/ui/main.qml:28:34: Type CompactRepresentation unavailable
file:///usr/share/plasma/plasmoids/org.kde.archUpdate/contents/ui/CompactRepresentation.qml:73:5: Type FullRepresentation unavailable
file:///usr/share/plasma/plasmoids/org.kde.archUpdate/contents/ui/FullRepresentation.qml:5:1: module "QtQuick.XmlListModel" is not installed

And the widget can't load. I tried to reinstall the widget, but it does not work.

Maryse47 commented 5 years ago

Do you have qt5-xmlpatterns package installed?

navarroaxel commented 5 years ago

No, that fixed my widget! But I never installed or removed that package. Do you know if Arch Linux removed that from KDE because is deprecated or something?

Maybe a clean orphan packages has removed it.

I think is not a dependency of this package because is part of the core of KDE, but it's not the case.

Maryse47 commented 5 years ago

It may get cleaned out at some point in your system. The proper fix is to add it explicitly as dependency in PKGBUILD @I-Dream-in-Code . You may also remove fakeroot which is already covered by pacman-contrib.