[Interest] Creating pdf with QTextDocument with chart
Duane
duane.hebert at group-upc.com
Mon Oct 26 14:09:27 CET 2015
On 23/10/2015 7:40 PM, Sze Howe Koh wrote:
> On 24 October 2015 at 00:21, Duane <duane.hebert at group-upc.com> wrote:
>> 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?
>
> Hi Duane,
>
> Try the Qt Widgets for Technical Applications library:
> http://qwt.sourceforge.net/
>
Thanks for the reply. We're using QWT to do the charts. I can save a
chart to pdf. what I need is to make a report containing a chart among
other things and save that as a PDF file.
I can do this with QTextDocument using html syntax but I don't see a way
to get the chart into that. I think QTextDocument will import only a
subset of HTML4.
More information about the Interest
mailing list