From 2d43775a4b698964a74bf91d381cf19fd080cbd3 Mon Sep 17 00:00:00 2001 From: Mikolaj Boc Date: Wed, 25 Jan 2023 11:26:13 +0100 Subject: [PATCH] Disable the process feature on WASM MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Processes are unsupported. processenvironment is kept intact. Change-Id: Ic2023be408adff9f8b034e9184bed620397be9bf Reviewed-by: Morten Johan Sørvig (cherry picked from commit 7d7de4b2e8e49b89d87478c4aeaec1ffbb0218b1) Reviewed-by: Qt Cherry-pick Bot --- src/corelib/configure.cmake | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/corelib/configure.cmake b/src/corelib/configure.cmake index b0569ab4325..7d52f48f57f 100644 --- a/src/corelib/configure.cmake +++ b/src/corelib/configure.cmake @@ -763,7 +763,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