I’m porting a plasmoid5 to plasmoid6. I have this in main.qml
:
Plasma5Support.DataSource {
id: localTime
engine: "time"
connectedSources: ["Local"]
interval: updateInterval
}
according to documentation it should work but I get error:
…/contents/ui/main.qml:30:5: Plasma5Support.DataSource – Plasma5Support is neither a type nor a namespace.
I have seached Google and there is no such an error reported previously.