From e2cfa8ea5be844294a80e849bfd1a76e9800a424 Mon Sep 17 00:00:00 2001 From: Matzman Date: Mon, 5 Oct 2026 22:39:29 +0200 Subject: [PATCH] Bundler: install QtWebEngineProcess as executable file(INSTALL) without a type installs 0644; Chromium then can't launch its helper process ("LaunchProcess: failed to execvp"). Co-Authored-By: Claude Opus 5.5 --- cmake/bundle-install.cmake.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmake/bundle-install.cmake.in b/cmake/bundle-install.cmake.in index 3a6ef2f..4be871c 100644 --- a/cmake/bundle-install.cmake.in +++ b/cmake/bundle-install.cmake.in @@ -87,7 +87,9 @@ file(GET_RUNTIME_DEPENDENCIES set(helper_executables "") if(resolved MATCHES "libQt6WebEngineCore") message(STATUS "Bundling Qt WebEngine (${webengine_process})") - file(INSTALL "${webengine_process}" DESTINATION "${prefix}/libexec" FOLLOW_SYMLINK_CHAIN) + # TYPE PROGRAM: a plain file(INSTALL) would drop the executable bit. + file(INSTALL "${webengine_process}" DESTINATION "${prefix}/libexec" TYPE PROGRAM + FOLLOW_SYMLINK_CHAIN) list(APPEND helper_executables "${prefix}/libexec/QtWebEngineProcess") file(GET_RUNTIME_DEPENDENCIES EXECUTABLES ${helper_executables}