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

Print QML scenes to PDF with the built-in software backend

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Quick: 2D Renderer
    • Labels:
      None
    • Technical Risk:
      Normal

      Description

      The now-integrated 2D Renderer in Qt 5.8 has everything needed internally to render onto a QPaintDevice.

      This could present an opportunity to implement printing or at least printing to PDF for QML scenes. Unlike the currently available approach, grabbing the scene as an image, this would allow generating proper PDFs.

      It is not entirely clear what this would mean API-wise, but is definitely something worth investigating. At first glance some additional public APIs in QQuickWidget to allow redirecting the output to a custom QPaintDevice would likely be sufficient.

        Attachments

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

          Activity

            People

            • Assignee:
              janichol Andy Nichols
              Reporter:
              lagocs Laszlo Agocs
            • Votes:
              41 Vote for this issue
              Watchers:
              31 Start watching this issue

              Dates

              • Created:
                Updated:

                Gerrit Reviews

                There are no open Gerrit changes