Commit af253501 authored by Michael Bruning's avatar Michael Bruning Committed by Michal Klocek
Browse files

Add widgets API for printing on a QPrinter


Renders the content to a PDF document and then renders this on a
QPrinter-backed QPainter using the PDFium library.

PDFium bitmap to QImage conversion based on work by Paulo Pinheiro
<paulvap.os@gmail.com>.

[ChangeLog][QtWebEngineWidgets][Printing] Enables printing QWebPage
content on a QPrinter. Currently does not support previewing the
document. Widgets only for the moment.

Change-Id: I9a5264433093379aee90f5e4f69bf2aee8814f2b
Reviewed-by: default avatarAllan Sandfeld Jensen <allan.jensen@qt.io>
parent eeac120e
Showing with 150 additions and 42 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment