GIF images in qt resource file
Hi,
I have done an application where i am using a gif image to show some progress of some operation. The Gif Image is added to qt resource file and with qt creator , if i run the application, the image is displayed on window. But if I take the exe to another machine , the images are not loaded to window. Even the jpeg images are also not loaded. For me only bmp images are working. Kindly advice the method to use gif and jpeg images.
Thanks,
:)
Re: GIF images in qt resource file
Most image formats are supported by plugins. You can place it on the target computer.
Re: GIF images in qt resource file
I have copied the qgif.dll and qgifd.dll to the same folder of exe in the other machine. Still the images are not displayed. :(
Added after 1 11 minutes:
Hi,
The qgifd.dll should be placed in a folder imageformats in the same directory of exe. It worked ..:D:)
Thanks.
Re: GIF images in qt resource file
You need to copy plugins in the folder imageformats ...
See the Qt plugins directory for images, and you need the same directory structure on target machine (imageformats should be in the directory of your executable)
Hope this helps :)