From 14c713e759af7e3f19042da1952969fcba3968db Mon Sep 17 00:00:00 2001 From: Fabian Kosmale Date: Wed, 29 Apr 2020 16:18:57 +0200 Subject: pro2cmake: convert QMLTYPES_FILENAME to QT_QMLTYPES_FILENAME Change-Id: I9afc6d4c0c9b3fd87ef28f15da0a984d778b83ac Reviewed-by: Alexandru Croitor --- util/cmake/pro2cmake.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'util') 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") -- cgit v1.2.3