Added install steps

Dentomologist 2020-11-27 09:29:37 -08:00
parent 6c0d32ba8f
commit 8ca16288c0
1 changed files with 8 additions and 1 deletions

@ -12,9 +12,13 @@ The offline installer can be found here. https://www.qt.io/offline-installers
When it comes to selecting components to install, select the Qt prebuilt components for MacOS.
* Before running CMake in the next step, make your you export your Qt5_DIR to the folder in your Qt installation with Qt5Config.cmake in it ( this is usually /<your_qt_installation_folder>/<version>/clang_64/lib/cmake/Qt5 ) by entering in terminal `export Qt5_DIR=<path to Qt5Config>`
Export your Qt5_DIR to the folder in your Qt installation with Qt5Config.cmake in it ( this is usually /<your_Qt_installation_folder>/<Qt_version>/clang_64/lib/cmake/Qt5 ) by entering in terminal `export Qt5_DIR=<path to Qt5Config>`
Append the Qt5_DIR to your PATH with `export PATH=$PATH:$Qt5_DIR`
If you plan to rebuild Dolphin in the future you'll probably want to update Qt5_DIR and PATH in your .bash_profile as well.
* Using double quotes: `echo "export Qt5_DIR=$Qt5_DIR" >> ~/.bash_profile`
* Using single quotes: `echo 'export PATH=$PATH:$Qt5_DIR' >> ~/.bash_profile`
## Checkout and Compile Dolphin
@ -25,6 +29,9 @@ git clone https://github.com/dolphin-emu/dolphin ~/dolphin-emu
cd ~/dolphin-emu
```
If you're using MacOS Sierra 10.12 or later you'll need to comment out this line in Externals/liblzma/config.h:
`#define HAVE_PTHREAD_CONDATTR_SETCLOCK 1`. Note that defining it to 0 won't work.
To build with CMake (optionally verbose): Download and install [CMake](https://cmake.org/download/) if you don't have it.
Then: