aboutsummaryrefslogtreecommitdiff
path: root/BUILD.md
diff options
context:
space:
mode:
authorDioEgizio <83089242+DioEgizio@users.noreply.github.com>2022-01-29 18:14:56 +0100
committerGitHub <noreply@github.com>2022-01-29 18:14:56 +0100
commit8ea1ebaf1b58c3b1f39b45f54fb8b2f87bf7b7b9 (patch)
tree90244f75b9c85f804433fe42c382bb3cafbcced0 /BUILD.md
parent5c2d3e430db6b441af0a851ec9908f6a82196eaa (diff)
downloadPrismLauncher-8ea1ebaf1b58c3b1f39b45f54fb8b2f87bf7b7b9.tar.gz
PrismLauncher-8ea1ebaf1b58c3b1f39b45f54fb8b2f87bf7b7b9.tar.bz2
PrismLauncher-8ea1ebaf1b58c3b1f39b45f54fb8b2f87bf7b7b9.zip
I haven't tested qt 5.6, i use 5.12
Diffstat (limited to 'BUILD.md')
-rw-r--r--BUILD.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/BUILD.md b/BUILD.md
index 1adb835b..84e5b34f 100644
--- a/BUILD.md
+++ b/BUILD.md
@@ -257,7 +257,7 @@ zlib1.dll
- Install XCode Command Line tools
- Install the official build of CMake (https://cmake.org/download/)
- Install JDK 8 (https://adoptium.net/releases.html?variant=openjdk8&jvmVariant=hotspot)
-- Get Qt 5.6 and install it (https://download.qt.io/new_archive/qt/5.6/5.6.3/)
+- Get Qt 5.6 and install it (https://download.qt.io/new_archive/qt/5.6/5.6.3/) or higher (tested) (https://www.qt.io/download-qt-installer?utm_referrer=https%3A%2F%2Fwww.qt.io%2Fdownload-open-source)
You can use `homebrew` to simplify the installation of build dependencies
@@ -281,15 +281,15 @@ cmake \
-DCMAKE_CXX_COMPILER=/usr/bin/clang++ \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX:PATH="$(dirname $PWD)/dist/" \
- -DCMAKE_PREFIX_PATH="/path/to/Qt5.6/" \
- -DQt5_DIR="/path/to/Qt5.6/" \
+ -DCMAKE_PREFIX_PATH="/path/to/Qt/" \
+ -DQt5_DIR="/path/to/Qt/" \
-DLauncher_LAYOUT=mac-bundle \
-DCMAKE_OSX_DEPLOYMENT_TARGET=10.7 \
..
make install
```
-Remember to replace `/path/to/Qt5.6/` with the actual path. For newer Qt installations, it is often in your home directory.
+Remember to replace `/path/to/Qt/` with the actual path. For newer Qt installations, it is often in your home directory.
**Note:** The final app bundle may not run due to code signing issues, which
need to be fixed with `codesign -fs -`.