Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. What thirdparty packages are used in Qt5 PDF module for display of PDF files?
Forum Updated to NodeBB v4.3 + New Features

What thirdparty packages are used in Qt5 PDF module for display of PDF files?

Scheduled Pinned Locked Moved Unsolved General and Desktop
8 Posts 3 Posters 699 Views 2 Watching
  • 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.
  • JoeCFDJ Offline
    JoeCFDJ Offline
    JoeCFD
    wrote on last edited by JoeCFD
    #1

    I only want to display PDF files with Qt5 PDF module.

    from here: https://wiki.qt.io/Handling_PDF
    The QtPDF module is a wrapper around PDFium with Apache License Version 2.0. It will look good to use Qt PDF module as LGPL. But some other packages(GPL) are listed as well. Does this module use other packages. I am a bit confused. Has anyone had looked into this? In theory, Qt5 PDF module has to be GPL if any GPL package is used inside, right?

    sierdzioS 1 Reply Last reply
    0
    • JoeCFDJ JoeCFD

      I only want to display PDF files with Qt5 PDF module.

      from here: https://wiki.qt.io/Handling_PDF
      The QtPDF module is a wrapper around PDFium with Apache License Version 2.0. It will look good to use Qt PDF module as LGPL. But some other packages(GPL) are listed as well. Does this module use other packages. I am a bit confused. Has anyone had looked into this? In theory, Qt5 PDF module has to be GPL if any GPL package is used inside, right?

      sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      @JoeCFD here is the official documentation page: https://doc.qt.io/qt-6/qtpdf-licensing.html and it says the module can be used under LGPL. The list under additional licenses is empty - either it really is so or it is a documentation bug.

      (Z(:^

      JoeCFDJ 1 Reply Last reply
      1
      • sierdzioS sierdzio

        @JoeCFD here is the official documentation page: https://doc.qt.io/qt-6/qtpdf-licensing.html and it says the module can be used under LGPL. The list under additional licenses is empty - either it really is so or it is a documentation bug.

        JoeCFDJ Offline
        JoeCFDJ Offline
        JoeCFD
        wrote on last edited by JoeCFD
        #3

        @sierdzio I saw that one as well. It seems this module uses third party package for rendering. You are right. This could be a doc bug. And this module can not be LGPL.

        SGaistS 1 Reply Last reply
        0
        • JoeCFDJ JoeCFD

          @sierdzio I saw that one as well. It seems this module uses third party package for rendering. You are right. This could be a doc bug. And this module can not be LGPL.

          SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @JoeCFD From the licensing page, the only third party is pdfium which a quick look at the project's sources confirm.

          The pdfium project is Apache 2.0 licensed so the module can be LGPL.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          JoeCFDJ 1 Reply Last reply
          1
          • SGaistS SGaist

            @JoeCFD From the licensing page, the only third party is pdfium which a quick look at the project's sources confirm.

            The pdfium project is Apache 2.0 licensed so the module can be LGPL.

            JoeCFDJ Offline
            JoeCFDJ Offline
            JoeCFD
            wrote on last edited by JoeCFD
            #5

            @SGaist I ldd all libs of pdf module and did not see they are linked to any GPL libs. I also could not see any Qt plugin which includes libs like poppler or xpdf. Will try an example and strace it to find out all related links. Thanks.

            SGaistS 1 Reply Last reply
            0
            • JoeCFDJ JoeCFD

              @SGaist I ldd all libs of pdf module and did not see they are linked to any GPL libs. I also could not see any Qt plugin which includes libs like poppler or xpdf. Will try an example and strace it to find out all related links. Thanks.

              SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @JoeCFD I think you may have misunderstood the content of the page. The third party libraries listed there are just alternatives to QtPDF that you can use in place of it. Those are not extra/optional dependencies of the QtPDF module.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              JoeCFDJ 1 Reply Last reply
              1
              • SGaistS SGaist

                @JoeCFD I think you may have misunderstood the content of the page. The third party libraries listed there are just alternatives to QtPDF that you can use in place of it. Those are not extra/optional dependencies of the QtPDF module.

                JoeCFDJ Offline
                JoeCFDJ Offline
                JoeCFD
                wrote on last edited by
                #7

                @SGaist I want to make sure it is the case that except PDFium no libs of other third parties are involved .

                SGaistS 1 Reply Last reply
                0
                • JoeCFDJ JoeCFD

                  @SGaist I want to make sure it is the case that except PDFium no libs of other third parties are involved .

                  SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by SGaist
                  #8

                  @JoeCFD You can see it in the code source directly as well as the CMakeLists.txt files of the module.

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  0

                  • Login

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups
                  • Search
                  • Get Qt Extensions
                  • Unsolved