aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2013-04-24 08:48:06 -0700
committerGavin Andresen <gavinandresen@gmail.com>2013-04-24 08:48:06 -0700
commit77a1e12eed5fc66dce16584696f54988a8c2bf4e (patch)
tree24509e7cbbda00f2dcd32089ae3087e23f3db926 /doc
parentfe15aa335c223a37a1196d5f509fbe8059b733bb (diff)
parent0565b7122fc80c1d2b604c93b2bb69f93eaa8e49 (diff)
downloadbitcoin-77a1e12eed5fc66dce16584696f54988a8c2bf4e.tar.xz
Merge pull request #2554 from fanquake/qt-pro-brew-patch
bitcoin-qt.pro Brew patch
Diffstat (limited to 'doc')
-rw-r--r--doc/readme-qt.rst16
1 files changed, 14 insertions, 2 deletions
diff --git a/doc/readme-qt.rst b/doc/readme-qt.rst
index 7283dc780b..1bc3d701ae 100644
--- a/doc/readme-qt.rst
+++ b/doc/readme-qt.rst
@@ -46,19 +46,31 @@ Mac OS X
- Download and install the `Qt Mac OS X SDK`_. It is recommended to also install Apple's Xcode with UNIX tools.
-- Download and install `MacPorts`_.
+- Download and install either `MacPorts`_ or `HomeBrew`_.
-- Execute the following commands in a terminal to get the dependencies:
+- Execute the following commands in a terminal to get the dependencies using MacPorts:
::
sudo port selfupdate
sudo port install boost db48 miniupnpc
+- Execute the following commands in a terminal to get the dependencies using HomeBrew:
+
+::
+
+ brew update
+ brew install boost miniupnpc openssl berkeley-db4
+
+- If using HomeBrew, edit `bitcoin-qt.pro` to account for library location differences. There's a diff in `contrib/homebrew/bitcoin-qt-pro.patch` that shows what you need to change, or you can just patch by doing
+
+ patch -p1 < contrib/homebrew/bitcoin.qt.pro.patch
+
- Open the bitcoin-qt.pro file in Qt Creator and build as normal (cmd-B)
.. _`Qt Mac OS X SDK`: http://qt-project.org/downloads/
.. _`MacPorts`: http://www.macports.org/install.php
+.. _`HomeBrew`: http://mxcl.github.io/homebrew/
Build configuration options