Skip to content

Commit

Permalink
Update macOS UI instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherHX committed May 16, 2022
1 parent cc9a160 commit b125461
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source_build/ui.rst
Expand Up @@ -6,7 +6,7 @@ Prerequirements
- **Ubuntu 18.04+** - :code:`sudo apt-get install libssl-dev libcurl4-openssl-dev libuv1-dev libzip-dev libprotobuf-dev protobuf-compiler qtbase5-dev qtwebengine5-dev qtdeclarative5-dev libqt5svg5-dev qml-module-qtquick2 qml-module-qtquick-layouts qml-module-qtquick-controls qml-module-qtquick-controls2 qml-module-qtquick-window2 qml-module-qtquick-dialogs qml-module-qt-labs-settings qml-module-qt-labs-folderlistmodel`
- **Ubuntu 16.04** - You must add a Qt 5.9+ repository first (:code:`add-apt-repository ppa:beineri/opt-qt596-xenial && apt-get update`, you probably have done this when compiling MSA already) from which you should install :code:`apt-get install qt59base qt59declarative qt59quickcontrols qt59quickcontrols2 qt59webengine`; also install :code:`apt-get install libssl-dev libcurl4-openssl-dev libuv1-dev libzip-dev libprotobuf-dev protobuf-compiler`
- **Fedora** - :code:`sudo dnf install libuv-devel libzip-devel protobuf-devel protobuf-compiler qt5-qtbase-devel qt5-qtwebengine-devel qt5-qtdeclarative-devel qt5-qtsvg-devel qt5-qtquickcontrols qt5-qtquickcontrols2`
- **macOS** - :code:`brew install cmake qt libzip libuv protobuf`
- **macOS** - :code:`brew install cmake qt@5 libzip libuv protobuf`
- :ref:`the game launcher <source_build_launcher>`

Build instructions
Expand All @@ -18,7 +18,7 @@ Build instructions
cmake ..
make -j12
**macOS:** replace the :code:`cmake` line with :code:`cmake -DCMAKE_PREFIX_PATH=$(brew --prefix qt) ..`
**macOS:** replace the :code:`cmake` line with :code:`cmake -DCMAKE_PREFIX_PATH=$(brew --prefix qt@5) ..`

If you haven't installed the launcher system-wide, please replace :code:`cmake ..` with :code:`cmake -DGAME_LAUNCHER_PATH=/absolute/path/to/mcpelauncher/build/dir/mcpelauncher-client ..` (if you compiled the mcpelauncher-manifest in /home/paul, then you'd have to use :code:`cmake -DGAME_LAUNCHER_PATH=/home/paul/mcpelauncher-manifest/build/mcpelauncher-client ..` as the command).

Expand Down

0 comments on commit b125461

Please sign in to comment.