12-06-2013 03:47 PM
The 10.2 API for Notifications now allow setIconUrl to be specificed when a new notification is created. However I have not been able to get this to work successfully. The code snippet that I have is:
filePath = filePath.arg(QDir::currentPath());
The docs state that the asset needs to be a public asset and I have done via the bar-descriptor and have verified that it appears in the public folder when the app is deployed.
Any suggestions, examples would be appreciated.
12-09-2013 01:46 AM
I have my notify.png image in the assets folder and the snippet
works good for me!
12-09-2013 01:37 PM
Thanks for you reply. Did you need to make that asset a public one? I have tried doing this as well and I am still getting the default "yellow bell" icon.
01-16-2014 01:10 AM