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

Qt Quick API cannot render password protected PDF files

XMLWordPrintable

      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.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes