diff --git a/util/cmake/pro2cmake.py b/util/cmake/pro2cmake.py index 2c12c7a4ae3..0d1025988e0 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: