Skip to content

Commit bf217e3

Browse files
committed
Merge pull request #5279
6c8c704 [docs] Add mini-"howto" using Qt Creator (osx) (Jonas Schnelli)
2 parents 5716808 + 6c8c704 commit bf217e3

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

doc/build-osx.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,22 @@ After exiting, you'll get a warning that the install is keg-only, which means it
8484

8585
make install
8686

87+
Use Qt Creator as IDE
88+
------------------------
89+
You can use Qt Creator as IDE, for debugging and for manipulating forms, etc.
90+
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).
91+
92+
1. Make sure you installed everything through homebrew mentioned above
93+
2. Do a proper ./configure --with-gui=qt5 --enable-debug
94+
3. In Qt Creator do "New Project" -> Import Project -> Import Existing Project
95+
4. Enter "bitcoin-qt" as project name, enter src/qt as location
96+
5. Leave the file selection as it is
97+
6. Confirm the "summary page"
98+
7. In the "Projects" tab select "Manage Kits..."
99+
8. Select the default "Desktop" kit and select "Clang (x86 64bit in /usr/bin)" as compiler
100+
9. Select LLDB as debugger (you might need to set the path to your installtion)
101+
10. Start debugging with Qt Creator
102+
87103
Creating a release build
88104
------------------------
89105
You can ignore this section if you are building `bitcoind` for your own use.

0 commit comments

Comments
 (0)