diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index df303b8..54d949d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 \