Skip to content

Commit

Permalink
feat: bundle qt platform plugins
Browse files Browse the repository at this point in the history
this gives the user more leeway to use the appimage
closes: #554
  • Loading branch information
lievenhey authored and milianw committed May 27, 2024
1 parent 053d979 commit e291eef
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/appimage/build_appimage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@ cp -v "/usr/share/icons/breeze/breeze-icons.rcc" "appdir/usr/share/icons/breeze/
# TODO: further down also add:
# -e "./appdir/usr/plugins/kgraphviewerpart.so" \

# tell the linuxdeploy qt plugin to include these platform plugins
export EXTRA_PLATFORM_PLUGINS="libqoffscreen.so;libqwayland-generic.so"

mkdir -p appdir/usr/plugins/wayland-shell-integration/
cp /usr/plugins/wayland-shell-integration/libxdg-shell.so appdir/usr/plugins/wayland-shell-integration/

linuxdeploy --appdir appdir --plugin qt \
-e "./appdir/usr/lib64/libexec/hotspot-perfparser" \
-e "./appdir/usr/bin/hotspot" \
Expand All @@ -70,6 +76,7 @@ linuxdeploy --appdir appdir --plugin qt \
-l /usr/lib64/libfontconfig.so.1 \
-l /usr/lib/librustc_demangle.so \
-l /usr/lib/libd_demangle.so \
-l /usr/lib64/libwayland-egl.so \
-i "$srcdir/src/images/icons/512-hotspot_app_icon.png" --icon-filename=hotspot \
-d "./appdir/usr/share/applications/com.kdab.hotspot.desktop" \
--output appimage
Expand Down

0 comments on commit e291eef

Please # to comment.