• Michael Bruning's avatar
    Add widgets API for printing on a QPrinter · af253501
    Michael Bruning authored
    
    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>
    af253501
examples.pro 260 bytes
TEMPLATE=subdirs
qtHaveModule(webengine) {
    SUBDIRS += webengine/quicknanobrowser
qtHaveModule(webenginewidgets) {
    SUBDIRS += \
        webenginewidgets/demobrowser \
        webenginewidgets/fancybrowser \
        webenginewidgets/markdowneditor