Ok here is what I've tried.
Qt Code:
animateBut->setIcons("process-working-kde"); animateBut->start();To copy to clipboard, switch view to plain text mode
Also open the file "process-working-kde.png" (it's located in /usr/share/icons/oxygen/16x16/animations) to see how the image is.
You'll see as 1 image all the frames of the animation.
I've also tried with .gif (no luck) and simple images that wasn't like the above image so I got 1 static icon in the button.
I created the following image in gimp. It's 16x240 with 15 squares that is 15 16x16 frames. Used it as the above code and worked.
Bookmarks