wkhtmltopdf打补丁?

wkhtmltopdf打补丁?,第1张

概述我正在尝试将多个网址转换成PDF.但是,当我编译wkhtmltopdf或运行apt-get install wkhtmltopdf并尝试,它说: Error: This version of wkhtmltopdf is build against an unpatched version of QT, and does not support more then one input docume 我正在尝试将多个网址转换成pdf.但是,当我编译wkHTMLtopdf或运行apt-get install wkHTMLtopdf并尝试,它说:

Error: This version of wkHTMLtopdf is build against an unpatched version of QT,and does not support more then one input document.

如果我使用静态版本,我得到Segmentation故障错误.

如何针对QT的补丁版本来构建wkHTMLtopdf,还有除了逐个转换并重新统一的其他解决方案?

我的 *** 作系统是Ubuntu 12.04 64位.谢谢.

解决方法 首先查看来源
git clone git://gitorIoUs.org/~antialize/qt/antializes-qt.git wkHTMLtopdf-qt cd wkHTMLtopdf-qt git checkout 4.8.4 QTDIR=. ./bin/syncqt

Qt必须配置,通过查看输出可以找到一组好的qt配置选项

cat ../wkHTMLtopdf/static_qt_conf_base ../wkHTMLtopdf/static_qt_conf_linux | sed -re 's/#.*//'cd wkHTMLtopdf-qt./configure -nomake tools,examples,demos,docs,translations -opensource -prefix "../wkqt"

和Qt编译和安装(这将需要一段时间)

make -j3 && make installcd ..

您现在必须在wkHTMLtopdf文件夹中运行qmake.

cd wkHTMLtopdf../wkqt/bin/qmake

Archived Google Code link.

总结

以上是内存溢出为你收集整理的wkhtmltopdf打补丁?全部内容,希望文章能够帮你解决wkhtmltopdf打补丁?所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/web/1091220.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-27
下一篇 2022-05-27

发表评论

登录后才能评论

评论列表(0条)

保存