Qt Animated gif not working properly in raspberry pi