[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: Rendering PDF in PyQT5
From: Florian Bruhin <me () the-compiler ! org>
Date: 2020-06-30 15:03:38
Message-ID: 20200630150338.hgippfinzbb64fd6 () hooch ! localdomain
[Download RAW message or body]
On Tue, Jun 30, 2020 at 02:28:12PM +0200, Justin Giffard wrote:
> I have tried a webview in the past which seemed to work okay
FWIW since Qt 5.13, QtWebEngine can show PDFs using Chromium's PDFium viewer:
https://doc.qt.io/qt-5/qtwebengine-features.html#pdf-file-viewing
> but Paolo came across a C++ QT5 example that made use of a QPdfDocument which
> I later found was held by the QPdfView. This had me excited until I found
> that it would seem that this is not implemented in PyQT5. Damn another brick
> wall.
Qt PDF uses the same PDFium viewer from QtWebEngine internally as well - but I
think it's still a Qt Labs "work in progress" thing at the moment.
Florian
--
me@the-compiler.org (Mail/XMPP) | https://www.qutebrowser.org
https://bruhin.software/ | https://github.com/sponsors/The-Compiler/
GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc
I love long mails! | https://email.is-not-s.ms/
["signature.asc" (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic