Skip to content

Compiling from sources

MCMrARM edited this page Oct 29, 2018 · 7 revisions

Prerequirements

  • Ubuntu - sudo apt-get install libssl-dev libcurl4-openssl-dev libuv1-dev libzip-dev libprotobuf-dev protobuf-compiler qtbase5-dev qtwebengine5-dev qtdeclarative5-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
  • macOS - brew install cmake qt libzip libuv lib protobuf

You also need to build the base mcpelauncher-client binary, check out https://github.com/minecraft-linux/mcpelauncher-manifest/wiki/Compiling-from-sources for instructions

Build instructions

git clone --recursive https://github.com/minecraft-linux/mcpelauncher-ui-manifest.git mcpelauncher-ui
cd mcpelauncher-ui && mkdir -p build && cd build
cmake ..
make -j12

macOS: replace the cmake line with cmake -DCMAKE_PREFIX_PATH=$(brew --prefix qt) ..

If you haven't installed the launcher system-wide, please replace cmake .. with 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 cmake -DGAME_LAUNCHER_PATH=/home/paul/mcpelauncher-manifest/build/mcpelauncher-client .. as the command).

Clone this wiki locally