I am using PyQt GPLv4.4.3 for Python v2.5 on a Windows machine and am having trouble getting QMovie to support gif animations. The problem is that the function call QMovie.supportedFormats() returns an empty list (on Windows). But, on a Mac it returns the list [PyQt4.QtCore.QByteArray('gif'), PyQt4.QtCore.QByteArray('mng')]. So, I am unable to play gif animations using PyQt in Windows using QMovie.

code:
Qt Code:
  1. from PyQt4.QtGui import QMovie
  2. QMovie.supportedFormats()
To copy to clipboard, switch view to plain text mode 

On the QImageReader page ( http://www.riverbankcomputing.co.uk/...edImageFormats <http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qimagereader.html#supportedImageFormats> ) it says that "To configure Qt with GIF support, pass -qt-gif to the configure script or check the appropriate option in the graphical installer."

So, I have tried things such as re-building Qt with the -qt-gif option, re-installing PyQt with all installation options selected, and installing newer versions of Python, PyQt, and SIP, but have been unsuccessful.


Is there some way to configure PyQt with Windows so that QMovie will support some sort of animation? (if it was not configured that way by default)
Any help would be very much appreciated. Thanks in advance.