diff options
author | Michael Bruning <michael.bruning@qt.io> | 2016-08-08 16:25:48 +0200 |
---|---|---|
committer | Michal Klocek <michal.klocek@qt.io> | 2016-08-24 16:19:39 +0000 |
commit | 73a8da982b5cdeee72f8ef59f4756cafdd2032ef (patch) | |
tree | 08d6ed1208ceb5a56c3ed421ecc15f7a521dfc11 /src/core/core_gyp_generator.pro | |
parent | af2535018b1553e351198f3d9c21538de1c328a1 (diff) |
Add core code for printing PDF data using PDFium
Enables printing PDFs to QPrinters via PDFium.
Bitmap to QImage conversion code based on code by Paulo Pinheiro
<paulovap.os@gmail.com>
Task-number: QTBUG-50556
Change-Id: I536200dc3dc56109624959b1d3d4644e4c20d1c0
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/core/core_gyp_generator.pro')
-rw-r--r-- | src/core/core_gyp_generator.pro | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/core_gyp_generator.pro b/src/core/core_gyp_generator.pro index b2cd7b693..5196d6438 100644 --- a/src/core/core_gyp_generator.pro +++ b/src/core/core_gyp_generator.pro @@ -196,3 +196,8 @@ qtHaveModule(positioning) { HEADERS += location_provider_qt.h DEFINES += QT_USE_POSITIONING=1 } + +qtHaveModule(printsupport) { + SOURCES += pdfium_printing_wrapper_qt.cpp + HEADERS += pdfium_printing_wrapper_qt.h +} |