[Development] Qt PDF as a new TP module for Qt 5.14

Fabrice Salvaire fabrice.salvaire at orange.fr
Mon Aug 19 22:00:58 CEST 2019


Dear all,

I implemented PDF rendering in Qt application.
My opinion is that Poppler is not the best piece of open source code, 
look the code in comparison to MuPDF, it is C but clean C and run on 
embedded devices.
Rather Poppler is more like a pile-up of crappy codes.  Some years ago, 
somebody complained that Poppler doesn't use the same rendering engine 
on Gnome and KDE ...
And Okular is nearly unable to print a document, try to print a 10 cm 
square on a printer or to do complex printing, personally I would prefer 
to boot Windows and use Acroread instead.
However I don't have experience with PDFium.

Cheers,

Fabrice

Le 12/08/2019 à 17:16, Thiago Macieira a écrit :
> On Monday, 12 August 2019 05:35:06 PDT Kai Köhne wrote:
>> I suggest to promote Qt PDF to a Qt module. For Qt 5.14, it will be in Tech
>> Preview state, and Shawn Rutledge is volunteering to be the maintainer.
>> Although still staying an independent library from the user's perspective,
>> it will be hosted and built in the qtwebengine.git repository. Initially
>> only the desktop platforms (Windows, Linux, macOS) would be supported.
>>
>> Qt PDF is so far a Qt labs module [1]. It allows Qt applications to
>> render/view PDF's in QWidget based applications [2], and is built on top of
>> PDFium. However, development has been stagnant, also because it is built on
>> top of a rather old version of PDFium.
> Has any analysis been done comparing the feature and platform support, and
> codebase size, for PDFium versus Poppler?
>
> Or is the big problem that the library we need to use (poppler-qt) depend on
> Qt itself?
>



More information about the Development mailing list