I have installed wkhtmltopdf using sudo apt-get install wkhtmltopdf
.
But when i try to print a report getting an odoo warning:
Wkhtmltopdf failed (error code: -6). Message: 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.No protocol specified
QXcbConnection: Could not connect to display
How can i resolve this?