]> git.baikalelectronics.ru Git - kernel.git/commit
Use pkg-config to find Qt 4 and 5 instead of direct qmake
authorThiago Macieira <thiago.macieira@intel.com>
Mon, 2 Nov 2015 03:12:53 +0000 (21:12 -0600)
committerMichal Marek <mmarek@suse.com>
Mon, 2 Nov 2015 20:43:09 +0000 (21:43 +0100)
commit0217c9f39b083846ed75062217a9116ce5953d63
tree7ffa0f60d0191e38806b268272989fec52d6bb7e
parent549b934fd33cd2d9fecc8714311af447ffc3d3f1
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 <thiago.macieira@intel.com>
Reported-by: Alexey Brodkin <abrodkin@synopsys.com>
Acked-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Michal Marek <mmarek@suse.com>
scripts/kconfig/Makefile