File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -101,14 +101,6 @@ function pre_build {
101101 brew_add_local_bottles
102102 fi
103103
104- echo ' Installing qt5'
105- if [ -n " $CACHE_STAGE " ]; then
106- echo " Qt5 has bottle, no caching needed"
107- else
108- brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/079ce55db79acc87b91bec950249595b1584e119/Formula/qt.rb
109- export PATH=" /usr/local/opt/qt/bin:$PATH "
110- fi
111-
112104 echo ' Installing FFmpeg'
113105
114106 if [ -n " $CACHE_STAGE " ]; then
@@ -118,6 +110,16 @@ function pre_build {
118110 brew install ffmpeg_opencv
119111 fi
120112
113+ echo ' Installing qt5'
114+
115+ if [ -n " $CACHE_STAGE " ]; then
116+ echo " Qt5 has bottle, no caching needed"
117+ else
118+ brew unlink qt
119+ brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/079ce55db79acc87b91bec950249595b1584e119/Formula/qt.rb
120+ export PATH=" /usr/local/opt/qt/bin:$PATH "
121+ fi
122+
121123 if [ -n " $CACHE_STAGE " ]; then
122124 brew_go_bootstrap_mode 0
123125 return 0
You can’t perform that action at this time.
0 commit comments