You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/build-osx.md
+11-9Lines changed: 11 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ This guide will show you how to build bitcoind (headless client) for OS X.
5
5
Notes
6
6
-----
7
7
8
-
* Tested on OS X 10.7 through 10.10 on 64-bit Intel processors only.
8
+
* Tested on OS X 10.7 through 10.11 on 64-bit Intel processors only.
9
9
10
10
* All of the commands should be executed in a Terminal application. The
11
11
built-in one is located in `/Applications/Utilities`.
@@ -24,7 +24,7 @@ be re-done or updated every time Xcode is updated.
24
24
You will also need to install [Homebrew](http://brew.sh) in order to install library
25
25
dependencies.
26
26
27
-
The installation of the actual dependencies is covered in the Instructions
27
+
The installation of the actual dependencies is covered in the instructions
28
28
sections below.
29
29
30
30
Instructions: Homebrew
@@ -36,17 +36,19 @@ Instructions: Homebrew
36
36
37
37
NOTE: Building with Qt4 is still supported, however, could result in a broken UI. As such, building with Qt5 is recommended.
38
38
39
-
### Building `bitcoind`
39
+
### Building `bitcoin`
40
40
41
41
1. Clone the GitHub tree to get the source code and go into the directory.
42
42
43
43
git clone https://github.com/bitcoin/bitcoin.git
44
44
cd bitcoin
45
45
46
-
2. Build bitcoind:
46
+
2. Build bitcoin-core:
47
+
This will configure and build the headless bitcoin binaries as well as the gui (if Qt is found).
48
+
You can disable the gui build by passing `--without-gui` to configure.
47
49
48
50
./autogen.sh
49
-
./configure --with-gui=qt5
51
+
./configure
50
52
make
51
53
52
54
3. It is also a good idea to build and run the unit tests:
@@ -60,10 +62,10 @@ NOTE: Building with Qt4 is still supported, however, could result in a broken UI
60
62
Use Qt Creator as IDE
61
63
------------------------
62
64
You can use Qt Creator as IDE, for debugging and for manipulating forms, etc.
63
-
Download Qt Creator from http://www.qt.io/download/. Download the "community edition" and only install Qt Creator (uncheck the rest during the installation process).
65
+
Download Qt Creator from https://www.qt.io/download/. Download the "community edition" and only install Qt Creator (uncheck the rest during the installation process).
64
66
65
67
1. Make sure you installed everything through Homebrew mentioned above
66
-
2. Do a proper ./configure --with-gui=qt5 --enable-debug
68
+
2. Do a proper ./configure --enable-debug
67
69
3. In Qt Creator do "New Project" -> Import Project -> Import Existing Project
68
70
4. Enter "bitcoin-qt" as project name, enter src/qt as location
69
71
5. Leave the file selection as it is
@@ -79,7 +81,7 @@ You can ignore this section if you are building `bitcoind` for your own use.
79
81
80
82
bitcoind/bitcoin-cli binaries are not included in the Bitcoin-Qt.app bundle.
81
83
82
-
If you are building `bitcoind` or `Bitcoin-Qt` for others, your build machine should be set up
84
+
If you are building `bitcoind` or `Bitcoin Core` for others, your build machine should be set up
83
85
as follows for maximum compatibility:
84
86
85
87
All dependencies should be compiled with these flags:
@@ -88,7 +90,7 @@ All dependencies should be compiled with these flags:
0 commit comments