fix macos CI

This commit is contained in:
Le Tan 2018-04-07 22:52:52 +08:00
parent 401fa09250
commit 052691258c

View File

@ -2,7 +2,12 @@
project_dir=$(pwd)
brew update > /dev/null
# Use Qt5.9.3 instead of 5.10
cd /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula
git checkout 13d52537d1e0e5f913de4639012 qt.rb
brew install qt
QTDIR="/usr/local/opt/qt"
PATH="$QTDIR/bin:$PATH"
LDFLAGS=-L$QTDIR/lib