Are you sure your PyQt uses the version of Qt that you compiled yourself (the one with -qt-gif)? Also check if the GIF plugin was compiled and is available in $QTDIR/plugins/imageformats. It should be called qgif.dll or something like that.