Quote Originally Posted by moorepe View Post
I just sorted this out the other day. What has happened is that the location of the image is not the same relative path when you set it in QtCreator's designer which uses the source dir. You may have something like image/thing.png in source dir, but since the executable is in the build dir, you would need a copy of the image/thing.png structure in the debug or release directory to match your source directory.

The best thing to do is to add the image as a resource which is linked into the executable, then select this resource using a path ":image/thing.png" instead of selecting a file. This is a good link to describe how to set a resource http://www.youtube.com/watch?v=sWIQIi4lg58

Then you highlight your Qlabel and select your pixmap resource (not file) using the dropdown on the pixmap property.
Thanks for replying. I've already succeeded in adding display my image but noe my another concern is about how to draw a circle/rectangle on top of the image. I've created another thread posting the question.http://www.qtcentre.org/threads/4514...r-Qlabel-image