Skip to content

Commit

Permalink
Linux CI/packaging: Fix QT_PATH on armhf linux
Browse files Browse the repository at this point in the history
  • Loading branch information
cbjeukendrup committed Sep 19, 2024
1 parent c911012 commit 99774e9
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions buildscripts/ci/linux/setup-arm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,23 @@ apt_packages_qt6=(
apt-get install -y \
"${apt_packages_qt6[@]}"

qt_version="624"
qt_dir="/usr/lib/aarch64-linux-gnu/qt6"
case $PACKARCH in
aarch64)
qt_dir="/usr/lib/aarch64-linux-gnu/qt6"
;;
armv7l)
qt_dir="/usr/lib/arm-linux-gnueabihf/qt6"
;;
*)
echo "Unknown architecture: $PACKARCH"
exit 1
;;
esac

if [[ ! -d "${qt_dir}" ]]; then
echo "Qt directory not found: ${qt_dir}"
exit 1
fi

##########################################################################
# GET TOOLS
Expand Down

0 comments on commit 99774e9

Please sign in to comment.