Quote Originally Posted by LMZ View Post
well, I think I must not put the path for my image by myself, let the disigner do it..
Let me say it again - Designer inserts paths relative to the directory the form is being saved in, so it works when previewing. But when you compile the application under Windows, it is most often moved to a directory called debug or release (depending on the build type), which changes the path thus making Qt fail to load images. This gives you three choices:

1. Copy images to a proper folder so that relative paths are still valid.
2. Use Qt resource system as I already suggested.
3. Register a function (with the form) that will return pixmaps for the form.