I need to create a document as a pdf file for my application. I can use QTextDocument and html to do most of the document but I need to add a chart to it. I'm using Qt 4.8. Any suggestions?