How to set the preview of a plasmoid widget to a png

That is currently not possible, the Icon property expects a name of an icon in the icon theme:

Icon is the icon name associated with the widget. You can search for icon names in the /usr/share/icons folder.

Source: https://develop.kde.org/docs/plasma/widget/setup/#metadatajson

1 Like