aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorselsta <selsta@sent.at>2023-12-07 03:28:34 +0100
committerselsta <selsta@sent.at>2023-12-07 03:29:31 +0100
commit819c2f57bed7dd3a9acc22aaa4d0e7f4bb377119 (patch)
tree380215f891f731f4cfbefc55d4e2330fd53fb64f
parente9cd4588aef3f0808ce153957a504f43dcdbeb26 (diff)
downloadmonzero-gui-819c2f57bed7dd3a9acc22aaa4d0e7f4bb377119.tar.gz
monzero-gui-819c2f57bed7dd3a9acc22aaa4d0e7f4bb377119.tar.xz
monzero-gui-819c2f57bed7dd3a9acc22aaa4d0e7f4bb377119.zip
DEPLOY: update instructions for Apple Silicon
-rw-r--r--DEPLOY.md26
1 files changed, 26 insertions, 0 deletions
diff --git a/DEPLOY.md b/DEPLOY.md
index 1c8ff05c..455a62b5 100644
--- a/DEPLOY.md
+++ b/DEPLOY.md
@@ -45,3 +45,29 @@ You can check if this step worked by using `codesign -dvvv monero-wallet-gui.app
5. `xcrun altool --notarization-info aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeee -u email@address.org`
6. `xcrun stapler staple -v monero-gui-mac-x64-v0.X.Y.Z.dmg`
+
+## Compile Qt for Apple Silicon
+
+Qt does not offer pre-built binaries for Apple Silicon, they have to be manually compiled.
+
+```bash
+git clone https://github.com/qt/qt5.git
+cd qt5
+git checkout v5.15.9-lts-lgpl
+./init-repository
+mkdir build
+cd build
+../configure -prefix /path/to/qt-build-dir/ -opensource -confirm-license -release -nomake examples -nomake tests -no-rpath -skip qtwebengine -skip qt3d -skip qtandroidextras -skip qtcanvas3d -skip qtcharts -skip qtconnectivity -skip qtdatavis3d -skip qtdoc -skip qtgamepad -skip qtlocation -skip qtnetworkauth -skip qtpurchasing -skip qtscript -skip qtscxml -skip qtsensors -skip qtserialbus -skip qtserialport -skip qtspeech -skip qttools -skip qtvirtualkeyboard -skip qtwayland -skip qtwebchannel -skip qtwebsockets -skip qtwebview -skip qtwinextras -skip qtx11extras -skip gamepad -skip serialbus -skip location -skip webengine
+make
+make install
+cd ../qttools/src/linguist/lrelease
+../../../../build/qtbase/bin/qmake
+make
+make install
+cd ../../../../qttools/src/macdeployqt/macdeployqt/
+../../../../build/qtbase/bin/qmake
+make
+make install
+```
+
+The `CMAKE_PREFIX_PATH` has to be set to `/path/to/qt-build-dir/` during monero-gui compilation.