Changeset View
Changeset View
Standalone View
Standalone View
doc/build-osx.md
Show First 20 Lines • Show All 81 Lines • ▼ Show 20 Lines | |||||
Other commands: | Other commands: | ||||
------- | ------- | ||||
./src/bitcoind -daemon # Starts the bitcoin daemon. | ./src/bitcoind -daemon # Starts the bitcoin daemon. | ||||
./src/bitcoin-cli --help # Outputs a list of command-line options. | ./src/bitcoin-cli --help # Outputs a list of command-line options. | ||||
./src/bitcoin-cli help # Outputs a list of RPC commands when the daemon is running. | ./src/bitcoin-cli help # Outputs a list of RPC commands when the daemon is running. | ||||
Using Qt Creator as IDE | |||||
------------------------ | |||||
You can use Qt Creator as an IDE, for bitcoin development. | |||||
Download and install the community edition of [Qt Creator](https://www.qt.io/download/). | |||||
Uncheck everything except Qt Creator during the installation process. | |||||
1. Make sure you installed everything through Homebrew mentioned above | |||||
2. Do a proper ./configure --enable-debug | |||||
3. In Qt Creator do "New Project" -> Import Project -> Import Existing Project | |||||
4. Enter "bitcoin-qt" as project name, enter src/qt as location | |||||
5. Leave the file selection as it is | |||||
6. Confirm the "summary page" | |||||
7. In the "Projects" tab select "Manage Kits..." | |||||
8. Select the default "Desktop" kit and select "Clang (x86 64bit in /usr/bin)" as compiler | |||||
9. Select LLDB as debugger (you might need to set the path to your installation) | |||||
10. Start debugging with Qt Creator | |||||
Notes | Notes | ||||
----- | ----- | ||||
* Building with downloaded Qt binaries is not officially supported. See the notes in [#7714](https://github.com/bitcoin/bitcoin/issues/7714) | * Building with downloaded Qt binaries is not officially supported. See the notes in [#7714](https://github.com/bitcoin/bitcoin/issues/7714) |