From 0e65f2540674b642523f3b14dbfe953da0bc43f4 Mon Sep 17 00:00:00 2001 From: xmrdsc Date: Tue, 16 Apr 2019 15:29:07 +0200 Subject: [PATCH] Update README.md for Qt 5.9.7 --- README.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 98b047cf..023cad9b 100644 --- a/README.md +++ b/README.md @@ -95,7 +95,11 @@ Packaging for your favorite distribution would be a welcome contribution! 2. Install Qt: - *Note*: Qt 5.7 is the minimum version required to build the GUI. This makes **some** distributions (mostly based on debian, like Ubuntu 16.x or Linux Mint 18.x) obsolete. You can still build the GUI if you install an [official Qt release](https://wiki.qt.io/Install_Qt_5_on_Ubuntu), but this is not officially supported. + *Note*: Qt 5.9.7 is the minimum version required to build the GUI. This makes **some** distributions (mostly based on debian, like Ubuntu 16.x or Linux Mint 18.x) obsolete due to their repositories containing an older Qt version. + + The recommended way is to install 5.9.7 from the [official Qt installer](https://www.qt.io/download-qt-installer) or [compiling it yourself](https://wiki.qt.io/Install_Qt_5_on_Ubuntu). This ensures you have the correct version. Higher versions *can* work but as it differs from our production build target, slight differences may occur. + +The following instructions will fetch Qt from your distribution's repositories instead. Take note of what version it installs. Your mileage may vary. - For Ubuntu 17.10+ @@ -153,7 +157,7 @@ The executable can be found in the build/release/bin folder. 4. Install Qt: - `brew install qt5` (or download QT 5.8+ from [qt.io](https://www.qt.io/download-open-source/)) + `brew install qt5` (or download QT 5.9.7+ from [qt.io](https://www.qt.io/download-open-source/)) If you have an older version of Qt installed via homebrew, you can force it to use 5.x like so: @@ -161,7 +165,7 @@ The executable can be found in the build/release/bin folder. 5. Add the Qt bin directory to your path - Example: `export PATH=$PATH:$HOME/Qt/5.8/clang_64/bin` + Example: `export PATH=$PATH:$HOME/Qt/5.9.7/clang_64/bin` This is the directory where Qt 5.x is installed on **your** system @@ -181,7 +185,7 @@ The executable can be found in the `build/release/bin` folder. **Note:** Workaround for "ERROR: Xcode not set up properly" -Edit `$HOME/Qt/5.8/clang_64/mkspecs/features/mac/default_pre.prf` +Edit `$HOME/Qt/5.9.7/clang_64/mkspecs/features/mac/default_pre.prf` replace `isEmpty($$list($$system("/usr/bin/xcrun -find xcrun 2>/dev/null")))`