I'm using a QTextDocument to print a PDF file via QPdfWriter. I wanted to know if there is a way to attach headers and footers to pages when printing the PDF?
Thanks. But I haven't find any method in QTextDocument to do that. Do you have to put custom blocks into the document for each page? And if so, how do you make sure the footer stick to the bottom of the page?