1
Graphics / Re: name.loadFromFile("pic.png") does not load the picture
« on: July 06, 2014, 05:33:00 pm »
Hello one more time.
Thanks for your answers. I was playing with everything I think I could. And I tried to Compile it not in the Debug mode, but in the Release mode and it works (ofc. I copy the picture into the Release directory). But I don't know why it does not work in the Debug mode.. I tried every single directory in my project directory and none of them is the directory when the program for debugging is.. (or there is another problem..)
If someone can figure out what it should (or can) be. I will be happy. But I can stand with this for a while .
Thanks a lot guys.
Thanks for your answers. I was playing with everything I think I could. And I tried to Compile it not in the Debug mode, but in the Release mode and it works (ofc. I copy the picture into the Release directory). But I don't know why it does not work in the Debug mode.. I tried every single directory in my project directory and none of them is the directory when the program for debugging is.. (or there is another problem..)
If someone can figure out what it should (or can) be. I will be happy. But I can stand with this for a while .
Thanks a lot guys.