Skip to content

Commit

Permalink
Merge pull request openscad#5539 from bdwheele/fedora41-build-fixes
Browse files Browse the repository at this point in the history
Fix check-dependencies.sh on Fedora 41
  • Loading branch information
t-paul authored Dec 28, 2024
2 parents 6838392 + 806eb48 commit 5cb4ccf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/check-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,10 @@ gmp_sysver()

qt_sysver()
{
if [ -d '/usr/lib/qtchooser' ]; then
. <(/usr/lib/qtchooser/qtchooser -print-env)
PATH=$PATH:$QTTOOLDIR
fi
if [ "`command -v qtchooser`" ]; then
qtver=`qtchooser -run-tool=qmake -qt=5 -v 2>&1`
if [ $? -eq 0 ] ; then
Expand Down
1 change: 1 addition & 0 deletions scripts/uni-get-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ get_fedora_deps_dnf()
dnf -y install libxml2-devel
dnf -y install libffi-devel
dnf -y install redhat-rpm-config
dnf -y install qtchooser
}

get_qomo_deps()
Expand Down

0 comments on commit 5cb4ccf

Please sign in to comment.