Image won't display
-
Hi, and welcome to the Qt Dev Net!
Does the image show when you run it from inside Qt Creator?
Assuming that your image is in JPEG format, did you include qjpeg.dll? See http://qt-project.org/wiki/Deploy_an_Application_on_Windows (the guide is written for Windows but the ideas apply to all platforms)
-
Hi and welcome to devnet,
Are you using a relative path to load your images ?
e.g.@QImage img("myCoolImage.png");@
If so, the program will look for it in the executable folder which is not the same as the folder you have your images in. You should either give the full path to the files or copy the files in the same folder as the executable.
Hope it helps