mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-16 14:59:54 +00:00
Have macos use Qt5 instead of Qt6
This commit is contained in:
parent
e6cffa5494
commit
088e8ea4c8
2 changed files with 5 additions and 3 deletions
|
@ -4,7 +4,7 @@ export HOMEBREW_NO_EMOJI=1
|
||||||
|
|
||||||
brew uninstall --ignore-dependencies python@3.8 || true
|
brew uninstall --ignore-dependencies python@3.8 || true
|
||||||
brew uninstall --ignore-dependencies python@3.9 || true
|
brew uninstall --ignore-dependencies python@3.9 || true
|
||||||
brew uninstall --ignore-dependencies qt@5 || true
|
brew uninstall --ignore-dependencies qt@6 || true
|
||||||
brew uninstall --ignore-dependencies jpeg || true
|
brew uninstall --ignore-dependencies jpeg || true
|
||||||
|
|
||||||
brew tap --repair
|
brew tap --repair
|
||||||
|
@ -20,7 +20,9 @@ install_name_tool -change "@loader_path/libbrotlicommon.1.dylib" "${BREW_LIB_PAT
|
||||||
|
|
||||||
command -v ccache >/dev/null 2>&1 || brew install ccache
|
command -v ccache >/dev/null 2>&1 || brew install ccache
|
||||||
command -v cmake >/dev/null 2>&1 || brew install cmake
|
command -v cmake >/dev/null 2>&1 || brew install cmake
|
||||||
command -v qmake >/dev/null 2>&1 || brew install qt@6
|
command -v qmake >/dev/null 2>&1 || brew install qt@5
|
||||||
|
export PATH="/opt/homebrew/opt/qt@5/bin:$PATH"
|
||||||
|
|
||||||
|
|
||||||
# Install deps
|
# Install deps
|
||||||
brew install icu4c yaml-cpp sqlite
|
brew install icu4c yaml-cpp sqlite
|
||||||
|
|
|
@ -8,7 +8,7 @@ git config --global advice.detachedHead false
|
||||||
|
|
||||||
DEPENDENCIES_ROOT="/tmp/openmw-deps"
|
DEPENDENCIES_ROOT="/tmp/openmw-deps"
|
||||||
|
|
||||||
QT_PATH=$(brew --prefix qt@6)
|
QT_PATH=$(brew --prefix qt@5)
|
||||||
ICU_PATH=$(brew --prefix icu4c)
|
ICU_PATH=$(brew --prefix icu4c)
|
||||||
CCACHE_EXECUTABLE=$(brew --prefix ccache)/bin/ccache
|
CCACHE_EXECUTABLE=$(brew --prefix ccache)/bin/ccache
|
||||||
mkdir build
|
mkdir build
|
||||||
|
|
Loading…
Reference in a new issue