How to show a notification in a qml kcm?

I’m trying to show notifications on a qml kcm. I tried showPassiveNotification but I got is not defined warning.

So I’m i not supposed to use it inside kcm?

yes, api from ApplicationWindow is not available in KCMS, usually other kcms make use of InlineMessage in the header of the KCM to convey notification-style messages

2 Likes