kendallb / PrintHtml

Open source command line program to print HTML pages using QtWebKit
MIT License
47 stars 18 forks source link

Windows prebuilt files after Dec 2017 don't work #16

Open netjordanlee opened 3 years ago

netjordanlee commented 3 years ago

Both of the prebuilts after 2017 don't work properly, the 4.6 Static version is missing many of the necessary library files, the 4.7 version is missing libgcc library files.

On top of this if you combine the DLL files from both pre-builds (to cover for the missing Qt/LibGCC DLLs in each), neither of them appear to be able to load any webpage, providing the same command (below) to the Dec 2017 build will correctly print the page, but subsequent versions show "Failed to load HTML" error.

printhtml.exe -p "<printer_name>" "https://www.google.com" -t 0 -b 0

kendallb commented 3 years ago

Hmm, that is unfortunate. I think I pulled those in from others that did the builds. I actually no longer have those dev tools installed as we use the version I built back in 2017 still. If you are able to fix the issue and do a PR with the fixes, I would be happy to bring that in.