summaryrefslogtreecommitdiffstats
path: root/src/pdf/pdfcore_generator.pro
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2020-01-10 17:00:36 +0100
committerShawn Rutledge <shawn.rutledge@qt.io>2020-01-17 17:06:27 +0000
commit07f2353ee1688eaf55d7d82c71ec42c80fcf4ee2 (patch)
tree9e5ed89ce5a78ea18a1bbfeef8cafac18e9653b3 /src/pdf/pdfcore_generator.pro
parent093cf56fc30f7aab9c7b7b34b6ce7b51e9f9e6d7 (diff)
Add support for qtpdf ios builds
Fix platform checks, add initial gn args, use shared library template for gn to get all the linker objects. This is just debug build. Task-number: QTBUG-77931 Change-Id: I9b3f7d3440aec66433ed19f4976e14506fba45dd Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/pdf/pdfcore_generator.pro')
-rw-r--r--src/pdf/pdfcore_generator.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pdf/pdfcore_generator.pro b/src/pdf/pdfcore_generator.pro
index dc978988b..c8eb13b81 100644
--- a/src/pdf/pdfcore_generator.pro
+++ b/src/pdf/pdfcore_generator.pro
@@ -3,6 +3,7 @@ qtConfig(debug_and_release): CONFIG += debug_and_release
TARGET = QtPdf
TEMPLATE = lib
CONFIG = gn_generator $$CONFIG
+ios: CONFIG -=static # note we still do static on ios when linking
GN_SRC_DIR = $$PWD
GN_FILE = $$OUT_PWD/$$getConfigDir()/BUILD.gn
GN_FIND_MOCABLES_SCRIPT = $$shell_path($$QTWEBENGINE_ROOT/tools/scripts/gn_find_mocables.py)