Solved Debugging Qimage images in debugger
-
Hi,
Is there any way to view the QImage object on debugger. Needed to verify before processing the images.
Thanks
Sachin -
@SachinBhat What do you mean with "view" - see the actual picture?
-
Yes. It would be helpful for debugging purpose
-
@SachinBhat I don't think this is possible.
As alternative you can write the image into a file and check that. -
Thank you,
I am using QImageWriter class for writing to a file.
QImageWriter writer("D:/image.png","PNG");
I get error
error: variable has incomplete type 'QImageWriter'
QPixmap.h:55:7: note: forward declaration of 'QImageWriter'I am using latst version of Qt
Could you please help me in solving this error?
Thanks
Sachin -
#include <QImageWriter>
-
Thank you very much. This is helping me to debug my code easily
Regards
Sachin