diff options
author | Fabian Kosmale <fabian.kosmale@qt.io> | 2020-04-29 16:18:57 +0200 |
---|---|---|
committer | Fabian Kosmale <fabian.kosmale@qt.io> | 2020-04-30 10:13:56 +0200 |
commit | 14c713e759af7e3f19042da1952969fcba3968db (patch) | |
tree | 54545c5ccf93a79cf443ab629c066f93f4608290 /util/cmake/pro2cmake.py | |
parent | 1af7fb5ed86c659ebea53e6f0316cac008cb89ed (diff) |
pro2cmake: convert QMLTYPES_FILENAME to QT_QMLTYPES_FILENAME
Change-Id: I9afc6d4c0c9b3fd87ef28f15da0a984d778b83ac
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'util/cmake/pro2cmake.py')
-rwxr-xr-x | util/cmake/pro2cmake.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/util/cmake/pro2cmake.py b/util/cmake/pro2cmake.py index 4d7c6960cf..dc6c961cc2 100755 --- a/util/cmake/pro2cmake.py +++ b/util/cmake/pro2cmake.py @@ -3800,6 +3800,10 @@ def handle_app_or_lib( if import_name: cm_fh.write(f"{spaces(indent+1)}QT_QML_MODULE_URI {import_name}\n") + json_output_filename = scope.expandString("QMLTYPES_FILENAME") + if json_output_filename: + cm_fh.write(f"{spaces(indent+1)}QT_QMLTYPES_FILENAME {json_output_filename}\n") + target_path = scope.get("TARGETPATH") if target_path: cm_fh.write(f"{spaces(indent+1)}QT_QML_MODULE_TARGET_PATH {target_path}\n") |