PDA

View Full Version : Qlabel not displaying images other than development machine



arunkumaraymuo1
23rd August 2012, 05:51
I created one application using Qt it shows one image in a QLabel using css its working fine on my development machine.

but not displaying images on other machines. I checked all the locations in my development machine but not in other systems

Except this everything works fine on other systems. I am using windows xp and windows 7 to test. may missing library files or any other registry settings

Zlatomir
23rd August 2012, 09:03
See my answer here (http://www.qtcentre.org/threads/50742-why-do-icons-only-show-up-on-my-computer) you most likely forgot to deploy image-plugins.

arunkumaraymuo1
23rd August 2012, 14:21
I copy pasted all the dlls found in plugin folder

to my application directory like this
Release\myApp.exe
Release\plugins\qjpeg4.dll

but still same problem exist
how I can possible to find which library is missing in my application

Zlatomir
23rd August 2012, 14:52
It should be something like: Release\imageformat (same name as the folder you copied from) if you want another path use addLibrayPath (http://doc.qt.nokia.com/4.7-snapshot/qcoreapplication.html#addLibraryPath)