Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-96574

Qt Quick API cannot render password protected PDF files

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.15.6
    • Fix Version/s: None
    • Component/s: PDF

      Description

      PdfDocument has a property password and also passwordRequired signal. However, these are only used for that PdfDocument instance.

      In Qt Quick API (Pdf*PageView), PDF pages are actually rendered through Image component with imageformats plugin provided by the module. That plugin has its own instance of QPdfDocument internally and there is no way to pass the password from QML to the plugin so opening the file fails and no image is rendered.

        Attachments

          Issue Links

          For Gerrit Dashboard: QTBUG-96574
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              srutledg Shawn Rutledge
              Reporter:
              poikelin Joni Poikelin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are 2 open Gerrit changes