qt5base: use system/buildroot provided freetype
authorPeter Seiderer <ps.report@gmx.net>
Sat, 18 Feb 2017 11:32:01 +0000 (12:32 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 20 Feb 2017 21:01:26 +0000 (22:01 +0100)
commit23b6afdacd04c709f2b6a5955c994160de848c99
tree9b827202b04d57548facb0132fd0ad44bd30b1b4
parent3a9006f622d4e979c373dabf1498f7d3cc1a4ee0
qt5base: use system/buildroot provided freetype

Select (and use) builroot provided freetype in case qt5base gui is
selected (gui without freetype/font support makes not much sense
and gives compile errors).

Qt 5.6 needs some support to find the include headers, 5.8 is
clever enough inherently.

Fixes [1] (by avoiding the build-in freetype library which depends
on activated libpng support):

  Project ERROR: Library 'libpng' is not defined.
  make[3]: *** [sub-3rdparty-freetype-make_first] Error 3

[1] http://autobuild.buildroot.net/results/219162ba616289f799a5053c4dcc6b8574284283

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/qt5/qt5base/Config.in
package/qt5/qt5base/qt5base.mk