From b125461e5b4e763237373e28555c2b5708e62fbc Mon Sep 17 00:00:00 2001 From: ChristopherHX Date: Mon, 16 May 2022 21:10:10 +0200 Subject: [PATCH] Update macOS UI instructions --- source_build/ui.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source_build/ui.rst b/source_build/ui.rst index 08381ec..0509fe4 100644 --- a/source_build/ui.rst +++ b/source_build/ui.rst @@ -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 ` Build instructions @@ -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).