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

QPrinter: be able to send the PDF output from QPrinter to memory instead of a file

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Out of scope
    • Icon: P3: Somewhat important P3: Somewhat important
    • Some future release
    • 4.4.3
    • GUI: Printing
    • None

      It would be nice if there were a way to send the PDF output from QPrinter to memory instead of a file, something like:

      QPrinter.setOutputDevice(QIODevice* device)

      Sometimes there is a need to generate PDFs with sensitive (secret) content, and it would be preferable not having to write these to disk at all.
      Also there could be a performance gain if the content could be retrieved directly from the buffer when saving the PDF is not needed or wanted.

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

            sletta Gunnar Sletta
            sanonymous Nokia Qt Support (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes