diff options
author | Amir Masoud Abdol <amirmasoudabdol@icloud.com> | 2023-01-16 16:05:57 +0100 |
---|---|---|
committer | Amir Masoud Abdol <amirmasoudabdol@icloud.com> | 2023-01-18 14:47:12 +0100 |
commit | b171abe69533a83c5b6fea51807da3ad45a1d3f3 (patch) | |
tree | 51179d71e61f8d632771f6f95f70a2026a332884 /util | |
parent | 7e82577680fb20413cdcfd93a982c52e9d9d095e (diff) |
Remove GENERATE_METATYPES
It doesn't seem like that it is being used anymore, except an instance
in pro2cmake which I replaced by NO_GENERATE_METATYPES.
Pick-to: 6.5
Change-Id: I135cf47e6041e98b354fb684f0079dad30689dea
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'util')
-rwxr-xr-x | util/cmake/pro2cmake.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/cmake/pro2cmake.py b/util/cmake/pro2cmake.py index 487a57abd6..e28d7c04eb 100755 --- a/util/cmake/pro2cmake.py +++ b/util/cmake/pro2cmake.py @@ -3569,8 +3569,8 @@ def write_module(cm_fh: IO[str], scope: Scope, *, indent: int = 0) -> str: scope._has_private_module = True if "header_module" in scope.get("CONFIG"): extra.append("HEADER_MODULE") - if "metatypes" in scope.get("CONFIG") or "qmltypes" in scope.get("CONFIG"): - extra.append("GENERATE_METATYPES") + if not("metatypes" in scope.get("CONFIG") or "qmltypes" in scope.get("CONFIG")): + extra.append("NO_GENERATE_METATYPES") module_config = scope.get("MODULE_CONFIG") if len(module_config): |