mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 08:08:42 +00:00
Fix QT install.
Allows sub-version so we can do QT5.5.1 (Webkit) and QT5.6 (Webengine) at a later date.
This commit is contained in:
@@ -1,15 +1,9 @@
|
||||
#!/bin/bash
|
||||
echo "QT=>" "$QT" "<="
|
||||
if [ "$QT" = "qt5" ]
|
||||
#!/bin/bash
|
||||
if [ "$QT_VER" = "5.5.1" ]
|
||||
then
|
||||
pwd
|
||||
workdir=`pwd`
|
||||
echo ${workdir}
|
||||
cd $( brew --prefix )
|
||||
pwd
|
||||
# Select QT 5.5.1
|
||||
git checkout fb64f6cd91ff Library/Formula/qt5.rb
|
||||
cd ${workdir}
|
||||
pwd
|
||||
brew install https://raw.githubusercontent.com/Homebrew/homebrew/fb64f6cd91ff19d9c651b7851a74808bde6bc60f/Library/Formula/qt5.rb
|
||||
else
|
||||
brew install $QT
|
||||
fi
|
||||
brew install $QT
|
||||
|
||||
Reference in New Issue
Block a user