Skip to content

Commit 9d3e499

Browse files
committed
Fix linuxdeploy configuration for plugin dependencies
1 parent 25e2dc1 commit 9d3e499

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,15 @@ jobs:
8080
wget -q https://github.com/linuxdeploy/linuxdeploy-plugin-qt/releases/download/continuous/linuxdeploy-plugin-qt-x86_64.AppImage
8181
chmod +x linuxdeploy*.AppImage
8282
export APPIMAGE_EXTRACT_AND_RUN=1
83+
# --deploy-deps-only makes linuxdeploy walk the staged plugin .so
84+
# files: their dependencies (e.g. libQt6WebEngineCore for mapviewer)
85+
# get bundled into usr/lib and the plugins' rpaths get rewritten,
86+
# without moving the plugins out of usr/plugins. Seeing WebEngine in
87+
# the AppDir then triggers the qt plugin's WebEngine handling
88+
# (QtWebEngineProcess, resources, locales).
8389
./linuxdeploy-x86_64.AppImage --appdir AppDir \
8490
--executable build/app/logdor \
91+
--deploy-deps-only AppDir/usr/plugins \
8592
--desktop-file assets/linux/logdor.desktop \
8693
--icon-file app/resources/icons/logdor.png \
8794
--plugin qt \

0 commit comments

Comments
 (0)