Unsolved Create PDF File from the database
-
hello,
may i ask how to create pdf that will print the data from the database.
I dont what class should I use to do this?
-
Use
QSqlQuery
to obatin your data. Fill aQTextDocument
and useQPrinter
to print to pdf. -
Locking as duplicate : https://forum.qt.io/topic/81394/create-pdf-from-sql-data/2