PDA

View Full Version : runing from .exe and pictures



Arisss
16th January 2010, 17:03
I would like to send my program to friend who don't have qt creator. I've put the .exe file and the all the needed dll's to one folder, as I read, and it works but there is a little problem. After runing it I can't see the pictures which should be in the window. I put them in the code into the the lebel->pixmap (with path "../pic/name.jpg). I thought that i have to place the folder with pics into the debug folder, but it doesn't work. Any sugestions? :)

PS. sorry for my english :)

squidge
16th January 2010, 17:37
They should be exactly where you expect to find them. So with "../pic/name.jpg" they should by in a directory called 'pic' and that directory should be in the same directory as the executable.

(and this thread should really be in the 'newbies' forum, not this one, imo)

Arisss
16th January 2010, 18:10
I got it :) What a silly mistake I made :D Anyway thank you :)