![]() Registered Member ![]()
|
I'm trying to use KNotification to show popup notifications in my program. Here is my notifyrc file:
And then here's the code where I'm trying to create a notification:
I see the output from that qDebug() call, but no notification. I get no error messages, though, so I'm not sure how to begin looking for the problem. |
![]() Administrator ![]()
|
Have you installed the notifyrc file?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Yeah, it got installed into /share/apps/kuru/kuru.notifyrc by make install, but since I didn't see any other program's files there, I also copied it into /usr/share/kde4/apps/kuru/kuru.notifyrc which is where the notifyrc files for all the KDE apps are, but that still didn't fix it. |
![]() Administrator ![]()
|
Try killing knotify4 as it may not have detected your application's notifyrc file. Also try running kbuildsycoca4.
Also try adding Icon and Name properties in the [Global] section.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
That did it. Thanks! |
Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot], Yahoo [Bot]