Open dirkbosman opened 5 years ago
Hey @dirkbosman , I updated the code to the newest Qt (5.11) version, it works again now. Seems some things changed since I built this, as Qt replaced some classes and moved functions around. Printing to a PDF seems easier now though, so that's good. I made the event processing loop more robust as well, let me know if you run into any issues. Happy printing!
I also added more documentation and a Dockerfile to make running this on a server easier.
Awesome! I will give it a go later and give feedback. Thanks!
On Sun, Nov 25, 2018 at 1:45 PM Andreas Dewes notifications@github.com wrote:
I also added more documentation and a Dockerfile to make running this on a server easier.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/adewes/pdf-printer/issues/1#issuecomment-441437909, or mute the thread https://github.com/notifications/unsubscribe-auth/AClwSzA5CS38LLmRRGbiEM-txeGxG8ZYks5uypDSgaJpZM4YxKmX .
I found above error when running your pyqt5 script on my mac.
Thereafter I used this import function (Source):
from PyQt5.QtWebEngineWidgets import QWebEngineView as QWebView
But got this error:
AttributeError: 'QWebEngineView' object has no attribute 'print_'
Any thoughts on how to fix this port issue? Thanks in advance!