aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2024-01-18 18:18:28 -0500
committerluigi1111 <luigi1111w@gmail.com>2024-01-18 18:18:28 -0500
commit1cc631d265770eb8bf3041661c4e075cf2140b3e (patch)
treeb73192684f6c3544326a142861b81f7576d7d9c2
parent1fe6765efac343f93c60dbc968dcb628675cac09 (diff)
parent981600c93500585991ccf6970619e4ed3d9df9fa (diff)
downloadmonzero-gui-1cc631d265770eb8bf3041661c4e075cf2140b3e.tar.gz
monzero-gui-1cc631d265770eb8bf3041661c4e075cf2140b3e.tar.xz
monzero-gui-1cc631d265770eb8bf3041661c4e075cf2140b3e.zip
Merge pull request #4251
981600c DEPLOY: add missing code syntax highlighting (selsta) 819c2f5 DEPLOY: update instructions for Apple Silicon (selsta)
-rw-r--r--DEPLOY.md30
1 files changed, 29 insertions, 1 deletions
diff --git a/DEPLOY.md b/DEPLOY.md
index 1c8ff05c..b5b36ff5 100644
--- a/DEPLOY.md
+++ b/DEPLOY.md
@@ -10,7 +10,7 @@ Use macOS 10.12 - 10.13 for better backwards compability.
4. Compile `monero-wallet-gui.app`
-```
+```bash
mkdir build && cd build
cmake -D CMAKE_BUILD_TYPE=Release -D ARCH=default -D CMAKE_PREFIX_PATH=~/Qt5.12.8/5.12.8/clang_64 ..
make
@@ -45,3 +45,31 @@ 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
+```
+
+For compilation with Xcode 15 the following patch has to be applied: https://raw.githubusercontent.com/Homebrew/formula-patches/086e8cf/qt5/qt5-qmake-xcode15.patch
+
+The `CMAKE_PREFIX_PATH` has to be set to `/path/to/qt-build-dir/` during monero-gui compilation.