0

After successfully making an installer for a qt application, I realize background images on qwidets doesn't show when installed on different computers although they do show on my own computer. I'm sure it has to be with dynamic libraries but i just don't know how to go about it. I need help please.

5
  • are the images correctly bundled? (as in the locations are not specific to your computer) Commented Sep 9, 2013 at 11:36
  • i compiled the images using the qresource compiler Commented Sep 9, 2013 at 11:40
  • What type of images are these? Maybe you're missing some plugins? Commented Sep 9, 2013 at 11:52
  • they are .png and .jpg images Commented Sep 9, 2013 at 12:19
  • 1
    .png images should work, but for .jpg images you will need to add a plugin to your app. You have to copy qjpeg.dll from the imageformats directory located in something like C:\Qt\5.1.0\mingw48_32\plugins\imageformats. You put this .dll file in a subdir called imageformats that is located in the directory that contains your deployed .exe file. Commented Sep 9, 2013 at 12:32

2 Answers 2

1

You have to copy qjpeg.dll from the imageformats directory located in something like C:\Qt\5.1.0\mingw48_32\plugins\imageformats. You put this .dll file in a subdir called imageformats that is located in the directory that contains your deployed .exe file

This worked for me. Thank you.

Sign up to request clarification or add additional context in comments.

Comments

0

Your problem is missing image plugins. You need to read about how to deploy a Qt application on windows.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.