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

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

    XMLWordPrintable

Details

    • Task
    • Resolution: Won't Do
    • P2: Important
    • None
    • None
    • Quick: 2D Renderer
    • None

    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

        Issue Links

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

          Activity

            People

              janichol Andy Nichols
              lagocs Laszlo Agocs
              Votes:
              42 Vote for this issue
              Watchers:
              33 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes