Skip to content

Commit a7aba6f

Browse files
committed
bundle qt platform plugins
this gives the user more leeway to use the appimage closes: #554
1 parent 95ecb77 commit a7aba6f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

scripts/appimage/build_appimage.sh

+7
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@ cp -v "/usr/share/icons/breeze/breeze-icons.rcc" "appdir/usr/share/icons/breeze/
6161
# TODO: further down also add:
6262
# -e "./appdir/usr/plugins/kgraphviewerpart.so" \
6363

64+
# add extra platform plugins
65+
export EXTRA_PLATFORM_PLUGINS="libqoffscreen.so;libqwayland-generic.so"
66+
67+
mkdir -p appdir/usr/plugins/wayland-shell-integration/
68+
cp /usr/plugins/wayland-shell-integration/libxdg-shell.so appdir/usr/plugins/wayland-shell-integration/
69+
6470
linuxdeploy-x86_64.AppImage --appdir appdir --plugin qt \
6571
-e "./appdir/usr/lib64/libexec/hotspot-perfparser" \
6672
-e "./appdir/usr/bin/hotspot" \
@@ -70,6 +76,7 @@ linuxdeploy-x86_64.AppImage --appdir appdir --plugin qt \
7076
-l /usr/lib64/libfontconfig.so.1 \
7177
-l /usr/lib/librustc_demangle.so \
7278
-l /usr/lib/libd_demangle.so \
79+
-l /usr/lib64/libwayland-egl.so \
7380
-i "$srcdir/src/images/icons/512-hotspot_app_icon.png" --icon-filename=hotspot \
7481
-d "./appdir/usr/share/applications/com.kdab.hotspot.desktop" \
7582
--output appimage

0 commit comments

Comments
 (0)