5

我正在尝试在 mac osx 上将 html 转换为 pdf。我写这个命令,

$ wkhtmltopdf --header-center "google"  http://www.google.com google.pdf

但我看到了错误,

The switch --header-center, is not support using unpatched qt, and will be ignored.Loading page (1/2)
Printing pages (2/2)                                               
Done 

问题是什么?我应该如何解决?

4

1 回答 1

2

自己从https://code.google.com/p/wkhtmltopdf/wiki/compilation安装 Qt 。希望这会做到。

于 2013-06-26T21:56:06.563 回答