gui: Enable console line edit on setClientModel
[novacoin.git] / doc / build-osx.txt
1 Copyright (c) 2017-2019 42 Developers
2 Copyright (c) 2019 NovaCoin Developers
3
4 Mac OS X Build Instructions and Notes
5 =====================================
6
7 MacOS 10.11.6 - El Capitan was used in this manual. All of the commands should be executed in a Terminal application. The built-in one is located in /Applications/Utilities. 
8
9 1. Install Xcode (7.3.1 for El Capitan), run it and accept the license agreement:
10
11 https://developer.apple.com/xcode/
12
13 Install Xcode command line tools:
14
15 xcode-select --install
16
17 2. Install MacPorts with main dependencies:
18
19 https://distfiles.macports.org/MacPorts/MacPorts-2.3.5-10.11-ElCapitan.pkg
20
21 sudo port install autoconf automake libtool pkgconfig db60 openssl qrencode qt5
22
23 sudo ln -s /opt/local/libexec/qt5/bin/qmake /opt/local/bin/qmake
24
25 3. Install Homebrew(http://brew.sh) with dependencies:
26
27 /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
28
29 brew install python2 boost@1.60
30
31 brew link --force boost@1.60
32
33 4. Add to PATH:
34
35 nano ~/.profile
36
37 export PATH=$PATH:~/opt/local/lib/db6.0
38 export PATH=$PATH:~/opt/local/lib/db60/include
39 export PATH=$PATH:~/usr/local/Cellar/boost@1.60/1.60.0/include/boost/thread.hpp
40
41 Ctrl+O, Enter, Ctrl+X
42
43 5. Clone the github tree:
44
45 git clone https://github.com/novacoin-project/novacoin.git
46
47 6. Build novacoin-Qt application:
48
49 cd novacoin
50 qmake
51 make
52
53 7. Create the .dmg disk image:
54
55 sudo easy_install appscript
56 ./contrib/macdeploy/macdeployqtplus novacoin-Qt.app -dmg -fancy ./contrib/macdeploy/fancy.plist