Qt has built-in PDF export support (QPrinter::PdfFormat
).
What's the best way to print an SQL table to a PDF file? (a table from a database loaded with QSqlDatabase
and linked to a QTableView
)...
Qt has built-in PDF export support (QPrinter::PdfFormat
).
What's the best way to print an SQL table to a PDF file? (a table from a database loaded with QSqlDatabase
and linked to a QTableView
)...
You use QWidget::render. See the documentation about Printing Widgets.