I'm trying to convert multiple URLs to PDF. However, when I compile wkhtmltopdf or run apt-get install wkhtmltopdf
and try, it says:
Error: This version of wkhtmltopdf is build against an unpatched version of QT, and does not support more then one input document.
If I use the static version, I get Segmentation fault error.
How do I build wkhtmltopdf against a patched version of QT, or are there any other solutions besides converting one by one and reuniting?
My OS is Ubuntu 12.04 64-bit. Thanks.
Best Answer
First check out the source
Qt must be configured, a good set of configuration options for qt can found by looking at the output of
And Qt compiled and installed (this will take a while)
You must now run qmake in the wkhtmltopdf folder.
Archived Google Code link.