Disable the process feature on WASM

Processes are unsupported. processenvironment is kept intact.

Pick-to: 6.5
Change-Id: Ic2023be408adff9f8b034e9184bed620397be9bf
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
bb10
Mikolaj Boc 2023-01-25 11:26:13 +01:00
parent a61d537f05
commit 7d7de4b2e8
1 changed files with 7 additions and 1 deletions

View File

@ -804,7 +804,13 @@ qt_feature("process" PUBLIC
SECTION "File I/O"
LABEL "QProcess"
PURPOSE "Supports external process invocation."
CONDITION QT_FEATURE_processenvironment AND ( QT_FEATURE_thread OR NOT UNIX ) AND NOT UIKIT AND NOT INTEGRITY AND NOT VXWORKS AND NOT rtems
CONDITION QT_FEATURE_processenvironment
AND (QT_FEATURE_thread OR NOT UNIX)
AND NOT UIKIT
AND NOT INTEGRITY
AND NOT VXWORKS
AND NOT rtems
AND NOT WASM
)
qt_feature_definition("process" "QT_NO_PROCESS" NEGATE VALUE "1")
qt_feature("processenvironment" PUBLIC