Fix RPATH on QtWebEngineProcess for Linux AppImage

[skip AppVeyor]
[skip osx]
[publish binaries]
Reported when testing #4597
This commit is contained in:
Alejandro Martinez
2025-02-15 19:05:05 -03:00
parent f2cb869a61
commit 6630a942ee
2 changed files with 6 additions and 4 deletions

View File

@@ -66,6 +66,8 @@ rm -rf squashfs-root
# Generate AppImage
wget --no-verbose "https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage"
# Fix RPATH on QtWebEngineProcess
patchelf --set-rpath '$ORIGIN/../lib' appdir/libexec/QtWebEngineProcess
chmod a+x appimagetool-x86_64.AppImage
./appimagetool-x86_64.AppImage appdir

View File

@@ -1,10 +1,6 @@
#!/bin/bash
set -ev
# Install fuse2, required to run older AppImages
sudo add-apt-repository -y universe
sudo apt install libfuse2
# Install qt5.15
sudo apt-get update -qq
sudo apt-get install -qq qtbase5-dev qt5-qmake qtbase5-dev-tools qttools5-dev
@@ -65,4 +61,8 @@ wget --no-verbose https://github.com/tcnksm/ghr/releases/download/v0.16.2/ghr_v0
tar xf ghr_v0.16.2_linux_amd64.tar.gz
mv ghr_v0.16.2_linux_amd64 ghr
# Install fuse2 required to run older AppImages, and patchelf to fix QtWebEngineProcess
sudo add-apt-repository -y universe
sudo apt install libfuse2 patchelf
exit