ismailof / mediacontroller_plus

Modified version of mediacontroller plasma5 widget
GNU General Public License v2.0
30 stars 11 forks source link

Qt.Quick.Controls 2.5 not installed #21

Open AdityaGupta832342 opened 3 years ago

AdityaGupta832342 commented 3 years ago

Error:

Error loading QML file: file:///home/aditya/.local/share/plasma/plasmoids/org.kde.plasma.mediacontroller_plus/contents/ui/main.qml:188:34: Type ExpandedRepresentation unavailable
file:///home/aditya/.local/share/plasma/plasmoids/org.kde.plasma.mediacontroller_plus/contents/ui/ExpandedRepresentation.qml:116:35: Type PlasmaComponents3.ToolTip unavailable
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/components.3/ToolTip.qml: No such file or directory

OS: Debian Buster 10, KDE

How to recreate : Right click on Desktop>Add Widget>Get New Widget>mediacontroller_plus>install > Drag widget to home screen.

What I think might be the issue: Debian Buster 10 latest qml-module-qtquick-controls (5.11.3-2) < 5.15.2-2( Debian Bullsye and Sid)

Side Note: I had another widget with the same error and changing the import to 2.0 worked for that particular widget.

ismailof commented 3 years ago

Hi @Darklight-user !

Thanks for reporting. The widget relies on some Qt and Plasma utilities that are newer to those on older systems. Unfortunately debian stable releases have a hard time to keep the pace at which Plasma and other desktop SW are evolving (I say that as a former debian user).

I'll try to keep the dependencies to the minimum required, but without losing functionallity on more modern systems, as currently I lack the time to test and maintain a compatibility version.

In this case, the QtQuick import is not very high (QtQuick 2.5 refers to Qt5.5: https://en.wikipedia.org/wiki/Qt_Quick), but it is the Tooltip component of PlasmaComponents 3.0 which seems to be missing.