Skip to content

Commit 94514ca

Browse files
committed
Fix build error: install qmake for linuxdeploy-plugin-qt
- Install qtbase5-dev and related tools on the Ubuntu runner. - Set QMAKE environment variable to ensure the Qt plugin can find it. - This ensures all necessary input libraries are bundled into the AppImage to prevent crashes.
1 parent 6f00f9e commit 94514ca

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

.github/workflows/build_and_release.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -151,17 +151,11 @@ jobs:
151151
cp AppDir/knowemail.png AppDir/.DirIcon
152152
153153
# --- AppImage ---
154-
sudo apt-get update
155-
sudo apt-get install -y qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools
156-
157154
wget -q https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage
158-
wget -q https://github.com/linuxdeploy/linuxdeploy-plugin-qt/releases/download/continuous/linuxdeploy-plugin-qt-x86_64.AppImage
159-
chmod +x linuxdeploy-x86_64.AppImage linuxdeploy-plugin-qt-x86_64.AppImage
155+
chmod +x linuxdeploy-x86_64.AppImage
160156
161-
# Run linuxdeploy with Qt plugin
162-
export PATH=$(pwd):$PATH
163-
export QMAKE=/usr/lib/qt5/bin/qmake
164-
./linuxdeploy-x86_64.AppImage --appdir AppDir --plugin qt --output appimage
157+
# Run linuxdeploy
158+
./linuxdeploy-x86_64.AppImage --appdir AppDir --output appimage
165159
166160
# Move and Rename AppImage
167161
mv KnowEmail-*.AppImage dist/KnowEmail-${TAG_NAME}-linux.AppImage

0 commit comments

Comments
 (0)