summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2020-10-08 14:19:36 +0200
committerUlf Hermann <ulf.hermann@qt.io>2020-10-08 16:49:18 +0200
commit6443c2215ee5c7d085fe84c7a271b70ea1185d3b (patch)
tree251cf8ed64b49ed910e727220c8cdc6415e1f495 /util
parent335c5a8a6bcf017e0f3363ea45032603d1245193 (diff)
pro2cmake: Translate qmake's install_qmltypes CONFIG option
We do want to install our qmltypes files ... Change-Id: I9769da852f92fcd9b1b8a8d093931f8c27d8a3d8 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Maximilian Goldstein <max.goldstein@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'util')
-rwxr-xr-xutil/cmake/pro2cmake.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/util/cmake/pro2cmake.py b/util/cmake/pro2cmake.py
index 1c2e224b0e..0e6f916f94 100755
--- a/util/cmake/pro2cmake.py
+++ b/util/cmake/pro2cmake.py
@@ -3855,6 +3855,9 @@ def write_plugin(cm_fh, scope, *, indent: int = 0) -> str:
if "qmltypes" in scope.get("CONFIG"):
extra.append("GENERATE_QMLTYPES")
+ if "install_qmltypes" in scope.get("CONFIG"):
+ extra.append("INSTALL_QMLTYPES")
+
if "static" in scope.get("CONFIG"):
extra.append("STATIC")