Skip to content

Commit

Permalink
Update qbittorrent-nox-static.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
userdocs committed May 10, 2022
1 parent bcac350 commit 5be9f17
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions qbittorrent-nox-static.sh
Original file line number Diff line number Diff line change
Expand Up @@ -538,10 +538,10 @@ set_module_urls() {
#
qbt_qt_full_version="${qtbase_github_tag}"
else
qtbase_github_tag="kde/5.15"
qtbase_github_tag="5.15"
qtbase_github_url="https://invent.kde.org/qt/qt/qtbase.git"
#
qttools_github_tag="kde/5.15"
qttools_github_tag="5.15"
qttools_github_url="https://invent.kde.org/qt/qt/qttools.git"
#
qbt_qt_full_version="$(curl "https://invent.kde.org/qt/qt/qtbase/-/raw/${qtbase_github_tag}/.qmake.conf" | sed -rn 's|MODULE_VERSION = (.*)|\1|p')" # get the version from the headers
Expand Down Expand Up @@ -2009,6 +2009,9 @@ if [[ "${!app_name_skip:-yes}" = 'no' ]] || [[ "${1}" = "${app_name}" ]]; then
icu=("-no-icu" "-iconv" "QMAKE_CXXFLAGS=-w -fpermissive")
fi
#
# Fix 5.15.4 to build on gcc 11
sed '/^# include <utility>/a # include <limits>' -i "${qbt_install_dir}/qtbase/src/corelib/global/qglobal.h"
#
# If Alpine, add the QMAKE_LIBS_EXECINFO path so we can build qtbase with no errors whilst linking against libexecinfo
[[ "${what_id}" =~ ^(alpine)$ ]] && echo "QMAKE_LIBS_EXECINFO = ${lib_dir}/libexecinfo.a" >> "mkspecs/common/linux.conf"
#
Expand Down

0 comments on commit 5be9f17

Please sign in to comment.