pro2cmake: If CONFIG-=app_bundle consider this a non gui app
Change-Id: I45804af3c43cf1af8b00ac3542e045fe697bf1b6 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
parent
0d43af1281
commit
2679ae3719
@ -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
|
is_qt_plugin = any("qt_plugin" == s for s in scope.get("_LOADED")) or is_qml_plugin
|
||||||
target = ""
|
target = ""
|
||||||
gui = all(
|
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")
|
) and "testlib" not in scope.expand("QT")
|
||||||
|
|
||||||
if is_jar:
|
if is_jar:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user