mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-01-21 13:10:04 -05:00
BuildGuideMacOSX.md edited online with Bitbucket
This commit is contained in:
parent
e7c6c589fd
commit
5cc8579905
@ -1,6 +1,8 @@
|
||||
# Build Guide for Mac OS/X
|
||||
|
||||
Install Xcode from the App Store. Install [homebrew](http://brew.sh/).
|
||||
Install Xcode from the App Store
|
||||
Install Qt 5.4.2 (Note, newer versions of Qt up to and including 5.8 have a bug with drawing OpenGL lines)
|
||||
Install [homebrew](http://brew.sh/).
|
||||
|
||||
Install `git` and clone the repository:
|
||||
|
||||
@ -12,7 +14,7 @@ git clone https://mfeemster@bitbucket.org/mfeemster/fractorium.git
|
||||
Install the dependencies:
|
||||
|
||||
```
|
||||
brew install qt5 tbb glm dbus jpeg libpng glib libxml2
|
||||
brew install qt5 tbb glm jpeg libpng glib libxml2
|
||||
```
|
||||
|
||||
TODO: Confirm if `glib` and `libxml2` are actually needed.
|
||||
@ -24,15 +26,28 @@ Add the Qt `bin` folder to `PATH` to make `qmake` available. In
|
||||
PATH=/usr/local/opt/qt5/bin:$PATH
|
||||
export PATH
|
||||
```
|
||||
Obtain the source:
|
||||
|
||||
```
|
||||
git clone https://mfeemster@bitbucket.org/mfeemster/fractorium.git
|
||||
```
|
||||
|
||||
Compile the binary:
|
||||
|
||||
```
|
||||
cd fractorium
|
||||
qmake CONFIG-=app_bundle
|
||||
qmake CONFIG+=release
|
||||
make
|
||||
```
|
||||
|
||||
Creating the app bundle:
|
||||
|
||||
```
|
||||
cd fractorium
|
||||
cd archive
|
||||
./build.sh
|
||||
```
|
||||
|
||||
Run the binary from the release folder:
|
||||
|
||||
```
|
||||
@ -40,3 +55,8 @@ cd Bin/release
|
||||
./fractorium
|
||||
```
|
||||
|
||||
Installing:
|
||||
|
||||
```
|
||||
Open Fractorium.dmg and copy Fractorium.app to /Applications.
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user