I want to write a program to convert html files to pdfs that supports the linux and windows platforms. I may not have time to implement an html parser so I was wondering would it be possible to use a Qt widget to load the html file and then have Qt print it to pdf. I was thinking of QWebkit but maybe there are other options thanks.