PDA

View Full Version : QPixmap error message



Achuthan
5th June 2012, 15:23
Hi

I wrote a QT4 program to capture the desktop and save it as an image in my c:\temp directory. It is working fine in my machine.
But when I move this into a different system, program runs and the QPixMap save function returns me a false. Even though I gave full permission to folder still am getting return as false. Is there any way to know the real reason for the failure rather than just a false.

regards
Achuth

wysota
5th June 2012, 16:14
http://www.qtcentre.org/faq.php?faq=qt_images#faq_qt_missing_images

Achuthan
5th June 2012, 17:33
Thanks Wysota, but in my case the directory is present. The one which concerns me is, there is no proper error message from QPixmap which will help me to fix the issue.
Am really stuck with this issue.

wysota
5th June 2012, 22:18
Thanks Wysota, but in my case the directory is present.
What directory?