summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
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 0bb68ee936..5d525b3e57 100755
--- a/util/cmake/pro2cmake.py
+++ b/util/cmake/pro2cmake.py
@@ -3246,6 +3246,9 @@ def write_main_part(
# Footer:
cm_fh.write(f"{spaces(indent)})\n")
+ if typename == "Tool":
+ cm_fh.write(f"{spaces(indent)}qt_internal_return_unless_building_tools()\n")
+
write_resources(cm_fh, name, scope, indent, target_ref=target_ref)
write_statecharts(cm_fh, name, scope, indent)