[Interest] Creating pdf with QTextDocument with chart

Michael Sué sue at sf.mpg.de
Mon Oct 26 16:04:11 CET 2015


Hi, 

Maybe you can use QPrinter using a QPainter:

QPrinter printer;
printer.setOutputFileName("file.pdf");
QPainter painter(&printer);

//paint the widget of your text document

- Michael.





More information about the Interest mailing list