fix: derive QMAKE path from Qt6_DIR for linuxdeploy plugin

This commit is contained in:
IChooseYou
2026-02-15 12:44:42 -07:00
parent 2e02a01495
commit 07fedf0ae8

View File

@@ -134,8 +134,10 @@ jobs:
cp src/icons/class.png AppDir/usr/share/icons/hicolor/256x256/apps/reclass.png
# Create AppImage with Qt libs bundled
export QMAKE=$Qt6_DIR/bin/qmake
export LD_LIBRARY_PATH=$Qt6_DIR/lib:$LD_LIBRARY_PATH
# Qt6_DIR points to cmake config dir; derive the Qt root from it
QT_ROOT=$(cd "$Qt6_DIR/../../.." && pwd)
export QMAKE="$QT_ROOT/bin/qmake"
export LD_LIBRARY_PATH="$QT_ROOT/lib:$LD_LIBRARY_PATH"
export EXTRA_QT_PLUGINS="svg;iconengines"
./linuxdeploy-x86_64.AppImage --appdir AppDir \
--desktop-file deploy/Reclass.desktop \