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>bb10
parent
335c5a8a6b
commit
6443c2215e
|
|
@ -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")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue