I was trying to build a project using QDir and QImage. I noticed that in Debug configuration everything works fine - QDir loads all the files in an app dir and writes whole paths to output. I can load an image to a QImage object, convert it and save.
Changing config to Release output's a totally different behaviour. I see QDir still able to read and write to the console screen good paths, but the loaded image is always NULL so it's not loaded at all. I've tried also to make it via .load(filename), .load(filepath) but it's not working. Format of my images is JPG.
Why is it happening?