Skip to content
Commit 588446a8 authored by Thiago Macieira's avatar Thiago Macieira Committed by Michal Marek
Browse files

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: default avatarThiago Macieira <thiago.macieira@intel.com>
Reported-by: default avatarAlexey Brodkin <abrodkin@synopsys.com>
Acked-by: default avatarAlexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: default avatarMichal Marek <mmarek@suse.com>
parent f6aad261
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment