summaryrefslogtreecommitdiffstats
path: root/src/corelib/configure.cmake
diff options
context:
space:
mode:
authorMikolaj Boc <mikolaj.boc@qt.io>2023-01-25 11:26:13 +0100
committerMikolaj Boc <mikolaj.boc@qt.io>2023-01-26 13:45:37 +0100
commit7d7de4b2e8e49b89d87478c4aeaec1ffbb0218b1 (patch)
tree3f3e73a10ae3eca8eba47e621950982f2c97023a /src/corelib/configure.cmake
parenta61d537f0535308fe30494e7a8fa283dba13d72d (diff)
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>
Diffstat (limited to 'src/corelib/configure.cmake')
-rw-r--r--src/corelib/configure.cmake8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/corelib/configure.cmake b/src/corelib/configure.cmake
index dc507b6a12..b4a040fb29 100644
--- a/src/corelib/configure.cmake
+++ b/src/corelib/configure.cmake
@@ -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