LoginSignup
6
6

More than 5 years have passed since last update.

MacOS 10.9 に homebrewで QTをインストールする。

Posted at

capybara-webkitをインストールしようとしたところ、qmakeが必要だったのでhomebrew経由でインストールしようとしたところ、qt4もqt5もエラーでインストールできません。

homebrewのissueを探していたところ以下のエントリーを参考にインストールが出来ました。
https://github.com/mxcl/homebrew/issues/21608

ただ、最後をみればわかる通りMacBook Air2013(Corei5/1.3G Mem8G)でも1時間以上かかってるのでインストールにはそれなりの覚悟が必要です。

$  brew install https://raw.github.com/cliffrowley/homebrew/patched_qt/Library/Formula/qt.rb --HEAD
######################################################################## 100.0%
==> Cloning git://gitorious.org/qt/qt.git
Cloning into '/Library/Caches/Homebrew/qt--git'...
remote: Counting objects: 46736, done.
remote: Compressing objects: 100% (29696/29696), done.
remote: Total 46736 (delta 15643), reused 42171 (delta 14249)
Receiving objects: 100% (46736/46736), 161.35 MiB | 404.00 KiB/s, done.
Resolving deltas: 100% (15643/15643), done.
Checking connectivity... done
Checking out files: 100% (46944/46944), done.
==> Checking out branch 4.8
==> Downloading patches
######################################################################## 100.0%
==> Patching
patching file src/3rdparty/webkit/Source/WebKit/qt/QtWebKit.pro
==> Downloading http://trac.webkit.org/export/157771/trunk/WebKitLibraries/libWebKitSystemInterfaceMavericks.a
######################################################################## 100.0%
==> ./configure -prefix /usr/local/Cellar/qt/HEAD -system-zlib -confirm-license -opensource -nomake demos -nomake examples -cocoa -
==> make

==> make install
==> Caveats
We agreed to the Qt opensource license for you.
If this is unacceptable you should uninstall.
==> Summary
 /usr/local/Cellar/qt/HEAD: 2776 files, 118M, built in 72.4 minutes
6
6
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
6