Skip to content

Instantly share code, notes, and snippets.

@Rajeshr34
Last active January 12, 2024 14:31
  • Star 57 You must be signed in to star a gist
  • Fork 15 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save Rajeshr34/2e9b2438ff142e51c729b4b9b772680a to your computer and use it in GitHub Desktop.
Wkhtmltopdf With Patched QT Setup Ubuntu 16+
cd ~
apt-get install libfontenc1 xfonts-75dpi xfonts-base xfonts-encodings xfonts-utils openssl build-essential libssl-dev libxrender-dev git-core libx11-dev libxext-dev libfontconfig1-dev libfreetype6-dev fontconfig -y
#https://github.com/wkhtmltopdf/wkhtmltopdf/releases
#replace arch
wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.bionic_amd64.deb
dpkg -i wkhtmltox_0.12.5-1.bionic_amd64.deb
apt --fix-broken install
@jaydevvaghela943
Copy link

You save my day. Thanks Man

@sembonshem
Copy link

OMG, spent days trying out various settings but nothing worked , Thank you very much for this, worked like a charm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment