Skip to content

Commit 39803a0

Browse files
committed
add qt 55 install, update readme for xcode install
1 parent a962788 commit 39803a0

File tree

2 files changed

+24
-9
lines changed

2 files changed

+24
-9
lines changed

README.md

+7-3
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,12 @@ We support:
1616

1717
* [OS X Yosemite (10.10)](https://www.apple.com/osx/)
1818

19-
Older versions may work but aren't regularly tested. Bug reports for older
20-
versions are welcome.
19+
_Older OS X versions may work but aren't regularly tested. Bug reports for older
20+
versions are welcome._
2121

22-
* [Xcode]:(https://itunes.apple.com/us/app/xcode/id497799835) must be installed.
22+
* [XCode version 9.4](https://developer.apple.com/download/more/?name=Xcode) (requires Apple ID login)
23+
24+
_Latest version of XCode may cause build problems with Qt 5.5 and capybara. XCode version 9.4 is recommended. For instructions on downgrading versions see [this article](https://medium.com/@tseboho/how-to-downgrade-xcode-4359df5158d5)._
2325

2426
Base Install
2527
-------
@@ -62,6 +64,8 @@ With Xcode 8.0, when trying to compile the gem you may get the error Project ERR
6264

6365
_For further reading: https://github.com/thoughtbot/capybara-webkit/wiki/Installing-Qt-and-compiling-capybara-webkit#macos-sierra-1012_
6466

67+
_Details for manual install of Qt 5.5: https://github.com/thoughtbot/capybara-webkit/wiki/Installing-Qt-and-compiling-capybara-webkit#macos-high-sierra-1013-macos-sierra-1012-el-capitan-1011-and-yosemite-1010_
68+
6569
kutil Install
6670
--------------
6771
```sh

mac.sh

+17-6
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,17 @@ install_postgresql() {
206206
fi
207207
}
208208

209+
install_qt55() {
210+
cd `brew --prefix`/Homebrew/Library/Taps/homebrew/homebrew-core
211+
git fetch --unshallow
212+
git checkout 9ba3d6ef8891e5c15dbdc9333f857b13711d4e97 Formula/[email protected]
213+
cd -
214+
215+
brew_install_or_upgrade '[email protected]'
216+
217+
append_to_zshrc 'export PATH="$(brew --prefix [email protected])/bin:$PATH"'
218+
}
219+
209220
##### Start Installation #####
210221

211222
if [ ! -d "$HOME/.bin/" ]; then
@@ -235,8 +246,6 @@ brew_install_or_upgrade 'ctags'
235246
brew_install_or_upgrade 'tmux'
236247
brew_install_or_upgrade 'reattach-to-user-namespace'
237248
brew_install_or_upgrade 'imagemagick'
238-
brew_install_or_upgrade 'qt55'
239-
brew link --force qt55
240249
brew_install_or_upgrade 'fswatch'
241250
brew_install_or_upgrade 'unison'
242251
brew_install_or_upgrade 'hub'
@@ -260,6 +269,12 @@ brew_install_or_upgrade 'httpie'
260269
brew_install_or_upgrade 'z'
261270
brew_install_or_upgrade 'watchman'
262271

272+
brew_tap 'homebrew/cask'
273+
cask_install_or_upgrade 'phantomjs'
274+
cask_install_or_upgrade 'chromedriver'
275+
install_elasticsearch
276+
install_qt55
277+
263278
# Install applications
264279
cask_install_or_upgrade 'macvim'
265280
cask_install_or_upgrade 'google-chrome'
@@ -272,11 +287,7 @@ cask_install_or_upgrade 'xquartz'
272287
cask_install_or_upgrade 'sublime-text'
273288
cask_install_or_upgrade '1password'
274289
cask_install_or_upgrade 'alfred'
275-
brew_tap 'homebrew/cask'
276-
cask_install_or_upgrade 'phantomjs'
277-
cask_install_or_upgrade 'chromedriver'
278290
install_shift_it
279-
install_elasticsearch
280291
install_latest_ruby
281292
install_vim_config
282293

0 commit comments

Comments
 (0)