Fix Qt selection instructions

pyrenderdoc uses pkg-config to find Qt rather than qmake, so we need to
give it the custom location too. I didn't notice this originally,
because it found my system version of Qt5 and compiled fine. Only when
I started doing static analysis and set up my exclusion list for Qt
headers did I notice there were multiple sets of headers being used.
This commit is contained in:
Cory Bloor
2017-11-12 15:32:03 -07:00
committed by Baldur Karlsson
parent f7b9f0be0d
commit b227229d9f
+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. 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.
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 Qt's pkgconfig directory to the `PKG_CONFIG_PATH` environment variable and add `-DQMAKE_QT5_COMMAND=/path/to/qmake` to your cmake arguments.
For Archlinux (as of 2017.04.18) you'll need: