I can't seem to find any info about this. but a lot of kde apps use animated icons.
As i know it setting as QIcon a gif won't work, as only first frame will be displayed.
I can't seem to find any info about this. but a lot of kde apps use animated icons.
As i know it setting as QIcon a gif won't work, as only first frame will be displayed.
I suppose that you have two ways:
Try to use GIF animated file (start playing with GIF with QMovie), and place it to the tray (i'm not sure about this case)
The other way is to use QTimer and a few different images. Here I found an example.