Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Qt Academy Launch in California!

    QML - Read PDF - pdf.js

    Tools
    2
    2
    1423
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Lordful
      Lordful last edited by

      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

      1 Reply Last reply Reply Quote 0
      • sneubert
        sneubert last edited by

        what about poppler? the qt5 backend is pretty good.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post