Improve docs for picking Qt version on Linux

This commit is contained in:
Cory Bloor
2017-10-23 14:27:24 +02:00
committed by Baldur Karlsson
parent 2fc8475fdf
commit bd994848e1
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -136,7 +136,7 @@ This is the apt-get line you'd need to install the requirements bar Qt on Ubuntu
sudo apt-get install libx11-dev libx11-xcb-dev mesa-common-dev libgl1-mesa-dev libxcb-keysyms1-dev cmake python3-dev bison autoconf automake libpcre3-dev
```
Your version of Ubuntu might not include a recent enough Qt version, so you can use [Stephan Binner's ppas](https://launchpad.net/~beineri) to install a more recent version of Qt. At least 5.6.2 is required.
Your version of Ubuntu might not include a recent enough Qt version, so you can use [Stephan Binner's ppas](https://launchpad.net/~beineri) to install a more recent version of Qt. At least 5.6.2 is required. If you choose to instead install an [official Qt release](https://download.qt.io/official_releases/qt/) or build Qt from source, add `-DQMAKE_QT5_COMMAND=/path/to/qmake` to your cmake arguments to specify where to find it.
For Archlinux (as of 2017.04.18) you'll need:
+2 -2
View File
@@ -8,9 +8,9 @@ QT += core gui widgets svg
CONFIG += silent
lessThan(QT_MAJOR_VERSION, 5): error("requires Qt 5")
lessThan(QT_MAJOR_VERSION, 5): error("requires Qt 5.6; found $$[QT_VERSION]")
equals(QT_MAJOR_VERSION, 5): lessThan(QT_MINOR_VERSION, 6): error("requires Qt 5.6")
equals(QT_MAJOR_VERSION, 5): lessThan(QT_MINOR_VERSION, 6): error("requires Qt 5.6; found $$[QT_VERSION]")
TARGET = qrenderdoc
TEMPLATE = app