QASreport
QASreport - is a multi-platform C ++ Qt library for building reports
...Reports templates are stored in XML format. And can be stored and loaded from a file on disk, memory, or table blob fields. The library contains built-in designer, available in run-time, with the ability to work like a normal graphic editor. Possible conclusion of the tables of any SQL database, which is connected to the driver. And the output of any source data models, inherited from QAbstractItemModel.