mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-22 05:35:48 +00:00
Improve docs for picking Qt version on Linux
This commit is contained in:
committed by
Baldur Karlsson
parent
2fc8475fdf
commit
bd994848e1
+1
-1
@@ -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:
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user