[Interest] Creating pdf with QTextDocument with chart

Jason H jhihn at gmx.com
Mon Oct 26 16:48:00 CET 2015


> >> 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.
> > Qwt has QwtRenderer which is designed for this kind of usecase. You
> > would render the chart into an image, which you then embed in your
> > report. That's basically how we do it (only not based on QTextDocument).
> 
> Hi André.  I know about QwtRenderer.  What do you use to create your 
> report if not QTextDocument?


I'm not Andre, but I use QLabels. They support an HTML subset.



More information about the Interest mailing list