Aslund
4th December 2015, 12:20
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/libraries/qt/showQtExample.php?index=552&key=QPdfWriterColoredTexts
Any ideas how to make it work or alternatively, another approach?
Kind regards
Sebastian Aslund
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/libraries/qt/showQtExample.php?index=552&key=QPdfWriterColoredTexts
Any ideas how to make it work or alternatively, another approach?
Kind regards
Sebastian Aslund