Skip to content

Commit 7598b43

Browse files
committed
Fixing LD_LIBRARY_PATH and logic to find QtWebEngineProcess executable
1 parent 26c6437 commit 7598b43

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

freeze.py

+5
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,11 @@ def find_files(directory, patterns):
214214
if os.path.exists(resvg_path):
215215
external_so_files.append((resvg_path, os.path.basename(resvg_path)))
216216

217+
# Add QtWebEngineProcess (if found)
218+
web_process_path = "/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess"
219+
if os.path.exists(web_process_path):
220+
external_so_files.append((web_process_path, os.path.basename(web_process_path)))
221+
217222
# Append Linux ICON file
218223
iconFile += ".svg"
219224
src_files.append((os.path.join(PATH, "xdg", iconFile), iconFile))

installer/launch-linux.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22

33
# Add the current folder the library path
4-
LD_LIBRARY_PATH="."
4+
export LD_LIBRARY_PATH="."
55

66
# Set some environment variables
77
export QT_PLUGIN_PATH="."

0 commit comments

Comments
 (0)