Hello fellow Qt programmers

I got the task of developing a small program logging program. One of the requirements is to print the result to a PDF file.

My idea is to have an existing PDF made like a form and use Qt to insert the different values at the appropriate places.

I have tried to use QPdfWriter but it deletes the existing form using this example:
http://www.codeprogress.com/cpp/libr...erColoredTexts

Any ideas how to make it work or alternatively, another approach?

Kind regards
Sebastian Aslund