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

Konstantin Tokarev annulen at yandex.ru
Mon Aug 12 20:03:09 CEST 2019



12.08.2019, 18:25, "Konstantin Tokarev" <annulen at yandex.ru>:
> 12.08.2019, 18:19, "Thiago Macieira" <thiago.macieira at intel.com>:
>>  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?
>
> I guess bigger problem is that Poppler is GPL. PDFium is probably the only
> permissively licensed PDF engine.

OTOH, original authors of code base from which Poppler was forked from provide
solution [1] which is available under both GPL and commercial license. Of course
this is not something that can be sold by The Qt Company, but still can be useful
for those who develop proprietary applications.

[1] http://www.glyphandcog.com/XpdfWidgetQt.html

-- 
Regards,
Konstantin



More information about the Development mailing list