diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-11-12 18:10:58 +0100 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-11-13 12:34:28 +0000 |
commit | 2679ae3719c9cb2fe3a9735b84c5bfe07f5d35d5 (patch) | |
tree | ef72f38e0af8edf865e7a75fca60e343f018adb8 /util | |
parent | 0d43af1281329bc69a2917b5b66299f176de4102 (diff) |
pro2cmake: If CONFIG-=app_bundle consider this a non gui app
Change-Id: I45804af3c43cf1af8b00ac3542e045fe697bf1b6
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'util')
-rwxr-xr-x | util/cmake/pro2cmake.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/cmake/pro2cmake.py b/util/cmake/pro2cmake.py index 2c12c7a4ae..0d1025988e 100755 --- a/util/cmake/pro2cmake.py +++ b/util/cmake/pro2cmake.py @@ -3257,7 +3257,7 @@ def handle_app_or_lib( is_qt_plugin = any("qt_plugin" == s for s in scope.get("_LOADED")) or is_qml_plugin target = "" gui = all( - val not in config for val in ["console", "cmdline"] + val not in config for val in ["console", "cmdline", "-app_bundle"] ) and "testlib" not in scope.expand("QT") if is_jar: |