diff options
author | Michael BrĂ¼ning <michael.bruning@qt.io> | 2016-09-21 18:02:51 +0200 |
---|---|---|
committer | Michael BrĂ¼ning <michael.bruning@qt.io> | 2016-11-25 11:44:07 +0000 |
commit | 41eddfaa4af8aba3820c8401993600e83633f9bc (patch) | |
tree | 3b437be48265f3f217352d2bf186fc1bff88687a /tools/qmake/mkspecs/features | |
parent | 5ca2d76b78df1839b92b04d7d6e7710f5d402c98 (diff) |
Move the QPrinter and QtWidgets related code out of the PDFium wrapper
This moves the actual printing using QPrinter to the WebEngineWidgets
part of the API.
The printsupport module depends on the widgets module and therefore
QtWebEngineCore also had a dependency to widgets. This is removed by
this change.
Change-Id: If6e5745709a59de18f2123b930cbe6e64390c867
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'tools/qmake/mkspecs/features')
-rw-r--r-- | tools/qmake/mkspecs/features/configure.prf | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/qmake/mkspecs/features/configure.prf b/tools/qmake/mkspecs/features/configure.prf index c6f07e39d..bb4c56cae 100644 --- a/tools/qmake/mkspecs/features/configure.prf +++ b/tools/qmake/mkspecs/features/configure.prf @@ -78,6 +78,9 @@ defineTest(runConfigure) { else: log("System NSS not found, BoringSSL will be used.$${EOL}") } } + !cross_compile { + WEBENGINE_CONFIG += enable_pdf + } isQtMinimum(5, 8) { include($$QTWEBENGINE_OUT_ROOT/qtwebengine-config.pri) QT_FOR_CONFIG += webengine-private |