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

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

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes