QML - Read PDF - pdf.js



  • Hello,

    I'm trying to find a way to display a PDF in a QML application. So I found this awesome librairie named pdf.js which allow me to display a PDF in a canva or with the pageviewer. This solutions are good but they need a WebEngineView to be displayed.

    That's why I'm asking myself if it will be possible to use this librairie and change the representation output, by this, I must create a QML canva which will display the information of my PDF.

    I know that there is also PoDoFo which allow to read PDF but I don't know if it's better. The lib pdf.js is pretty cool with the zoom, the representation of the page change at each zoom, you don't see the pixels.

    Does anyone have an idea of how implement that ?

    Thanks



  • what about poppler? the qt5 backend is pretty good.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.