QT Creator app not displaying images from resource file on client PC.

If you deploy an application that displays images on your development machine but fails to show the images when run on a client machine please check the following.

You will need to make sure that you have added the /imageformats directory and dll’s to your release.

More importantly, there are three versions of this directory within the QT directories! The one you need for deployment purposes is the one located at /QT/5.3/mingw482_32/plugins/

Just copy the whole folder and it’s contents to your applications release folder.

This has resolved many an issue with images not working on other PC’s but working fine on the development PC. I have only tested this on Windows 7 and Windows 7 64.

Print Friendly, PDF & Email

More Like This


Categories


QT Creator

Tags


  • Post a comment