Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use pkg-config to find Qt 4 and 5 instead of direct qmake
The Qt Project recommendation is that there should always be a "qmake" binary and it should never be renamed. If it's necessary to handle multiple Qt versions, the Qt Project recommends using qtchooser. Unfortunately, some distros do not follow the recommendation, so we would need to check qmake-qt4, qmake-qt5, etc. So, instead, let's try pkg-config. Signed-off-by: Thiago Macieira <[email protected]> Reported-by: Alexey Brodkin <[email protected]> Acked-by: Alexey Brodkin <[email protected]> Signed-off-by: Michal Marek <[email protected]>
- Loading branch information