I had a Qimage, when I tried saving this image in JPG in console show this Message:

"QJpegHandler: Unable to write image in format 7"

Use this command to save the image:
Qt Code:
  1. image.save(filename,"JPG");
To copy to clipboard, switch view to plain text mode 

I use Qt 4.5.2 in Ubuntu 8.04 maybe I need some library