I'm saving the pixmap inside C:/Temp, but I'm gonna use QTemporaryFile instead.

And now I've got a another problem. It's with my HTML code.
It is not recognizing some tags for the images I'm using.

Both "alt" (first image) and "width" and "height" (second image) are not working.
Qt Code:
  1. "<html>"
  2. "<body>"
  3. "<font size='4' face='Arial'>"
  4. "<h1 align='center'>Title 1</h1>"
  5. "<p align='center'><img src=':/images/applogo.png' alt='applogo'></p>" //this is the app logo
  6. "<h2 align='center'>Title 2</h2>"
  7. "<p align='center'>Chart title"
  8. "<br><img src='C:/Temp/temp.png' height='241' width='621'></p>" //this is the chart
  9. "</font>"
  10. "</body>"
  11. "</html>"
To copy to clipboard, switch view to plain text mode 

I really need the width/height tags to work, since the chart is being stretched to the page size, and the resolution isn't good, especially for papers.
Any ideas?