When I call save on my QImage it fails. There isn't anything wrong with the file name. The image isn't NULL, and is a proper image. The program works perfectly on another computer.
Is there any way to tell why it is failing? I am thinking it has something to do with file permissions, but I don't know where to start. The computer in question is a mac. I was also thinking I could be missing a library, but I copied over everything and mac-dependency isn't giving me any errors.
Update: Trying to save "a.jpg" fails, but "a.png" works. It looks like it has something to do with saving ".jpg" files. I believe Qt doesn't support this natively, but instead relies on the current system to provide the functionality. I probably just need to add a library to the mac.
Any help would be greatly appreciated!
Thanks,
Matthew
Bookmarks