Hi. I was able to play GIF onto FB with only Python3, mainly by fcntl and Pillow library which are all pre-installed in latest raspbian. You don't have to install Qt with this approach.
Here's the project link.https://github.com/chidea/FBpyGIF