Fix build on Harmattan when cross-compiling
authorSimon Hausmann <simon.hausmann@nokia.com>
Wed, 12 Oct 2011 08:11:30 +0000 (10:11 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 13 Oct 2011 10:57:26 +0000 (12:57 +0200)
commit28c0b26fb7a6d33670d3ad523562aa11dcd40d35
treea02bd410adfe490d16152fdd3c05d1016e697e83
parent8346c192ad927f379519b1bfb5c6d7e3d64e7e9b
Fix build on Harmattan when cross-compiling

When configure detects the presence of font-config/freetype via pkg-config
_and_ we are cross-compiling for Harmattan, make sure that we pick up the
include path for freetype. The .pri file is included in various places in
qtbase when the usage of freetype is required.

Change-Id: I4a5390dfc063504def80a891bc9153d6a376ccd7
Reviewed-on: http://codereview.qt-project.org/6509
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
config.tests/unix/freetype/freetype.pri