I have not tried this, but perhaps it is possible by setting a new icon every few milliseconds.
QLinkedList<QIcon> frames; frames << QIcon(":/images/icon1.png") << QIcon(":/images/icon2.png"); QTimer timer = new QTimer(this); timer->setSingleShot(false); connect(timer, SIGNAL(timeout()), this, SLOT(updateTrayIcon())); timer->start(500);
source share