summaryrefslogtreecommitdiffstats
path: root/src/core/api/core_api.pro
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2021-02-02 14:21:38 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2021-02-03 11:13:06 +0100
commit84ed21fa6c0a7b488c68eeca5ef4b103d662a7a5 (patch)
tree4a9251a1762842de2360be1175d2994643e1abc5 /src/core/api/core_api.pro
parentcde72003881c6b5680ac8ac0fe6d6971bb43e0d5 (diff)
Fix builds without printsupport
Change-Id: I213a56ddf4856168c9eb4d134369c8090ed5be0b Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'src/core/api/core_api.pro')
-rw-r--r--src/core/api/core_api.pro7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/core/api/core_api.pro b/src/core/api/core_api.pro
index 3a2a9708c..aba757474 100644
--- a/src/core/api/core_api.pro
+++ b/src/core/api/core_api.pro
@@ -1,10 +1,15 @@
+include($$QTWEBENGINE_OUT_ROOT/src/core/qtwebenginecore-config.pri)
+QT_FOR_CONFIG += webenginecore webenginecore-private
+
TARGET = qtwebenginecoreapi$$qtPlatformTargetSuffix()
DESTDIR = $$OUT_PWD/$$getConfigDir()
TEMPLATE = lib
CONFIG += staticlib
-QT += network core-private webenginecoreheaders-private quick printsupport qml #fixme
+QT += network core-private webenginecoreheaders-private quick qml
+
+qtConfig(webengine-printing-and-pdf): QT += printsupport
# Don't create .prl file for this intermediate library because
# their contents get used when linking against them, breaking