summaryrefslogtreecommitdiffstats
path: root/util/cmake/pro2cmake.py
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2019-06-07 10:51:55 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2019-06-07 09:49:15 +0000
commit38b1474c516810b7c1bef8d660ff594817f1cf08 (patch)
tree4e3bd54b214a11a31fac27e29757c8584aa6fd5c /util/cmake/pro2cmake.py
parentaa956e08229ee4884d88cc63b640b2cf19ef45d3 (diff)
Handle minimal_syncqt as not running syncqt for now
This is needed for QmlDevTools in qtdeclarative. Change-Id: I41adec15f292c91192e171b45d1e5d48764c37c4 Reviewed-by: Qt CMake Build Bot Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'util/cmake/pro2cmake.py')
-rwxr-xr-xutil/cmake/pro2cmake.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/cmake/pro2cmake.py b/util/cmake/pro2cmake.py
index 2eda9b69d3..0de5fce559 100755
--- a/util/cmake/pro2cmake.py
+++ b/util/cmake/pro2cmake.py
@@ -1609,6 +1609,8 @@ def write_module(cm_fh: typing.IO[str], scope: Scope, *,
extra.append('INTERNAL_MODULE')
if 'no_module_headers' in scope.get('CONFIG'):
extra.append('NO_MODULE_HEADERS')
+ if 'minimal_syncqt' in scope.get('CONFIG'):
+ extra.append('NO_SYNC_QT')
module_config = scope.get("MODULE_CONFIG")
if len(module_config):