You have to enable gif support and recompile Qt. But it's not enough to make animated gifs work. You have to use QMovie.