IDE is apparently unable to import plasmoid: `import org.kde.plasma.plasmoid 2.0` > QML module not found (org.kde.plasma.plasmoid). Same experience in QtCreator & KDevelop. This doesn't affect the build, only working on the source code. This makes development more difficult, and in particular poses a barrier to potential new contributors since things like IntelliSense, Go To Definition, quick docs, etc will not work. So far the only insight to the issue has been: > "That module is only present if you're running in a Plasmashell context" Is there any way to resolve this?
Where do you see this error exactly?
A few examples: plasma-desktop: containments/desktop/package/contents/ui/main.qml applets/keyboardlayout/contents/ui/main.qml plasma-workspace: components/containmentlayoutmanager/qml/BasicAppletContainer.qml kweather: plasmoid/package/contents/ui/main.qml So far every instance I have checked has the same issue.
Created attachment 142556 [details] qtcreator error
Created attachment 142557 [details] kdevelop error
That's funny, I don't see those messages in Kate.
Same, and I don't see them in VSCode either. Despite the missing error, do you get any sort of intelligent parsing of doc comments, autocomplete suggestions, go to definition for the things plasmoid imports?
I do not