原本以为只要apt-get直接安装就可以了,可是没想到出现了下面的报错提示:
1 | The switch --header-spacing, is not support using unpatched qt, and will be ignored.The switch --header-html, is not support using unpatched qt, and will be ignored.The switch --footer-html, is not support using unpatched qt, and will be ignored.QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-odoo'\nqt.qpa.screen: QXcbConnection: Could not connect to display \nCould not connect to any X display.\n |
看来这个插件不能直接安装,解决方案如下:
1 | # Uncomment the next line if you have installed wkhtmltopdf |