[yocto] [meta-qt4][PATCH RESEND][pyro] qt4-native: depend on icu-native to fix build on systems with icu <=58

Alexander Kanavin alexander.kanavin at linux.intel.com
Fri Aug 25 07:51:19 PDT 2017


On 08/25/2017 04:17 PM, Ioan-Adrian Ratiu wrote:
> From: Cody P Schafer <dev at codyps.com>
> 
> Previously, qt4-native would use the system icu to build.
> 
> Trying to build against a system ICU 59, however, fails with this root
> error:
> 
> | In file included from /usr/include/unicode/uversion.h:30:0,
> |                  from tools/qlocale_icu.cpp:46:
> | /usr/include/unicode/umachine.h:347:13: error: ‘char16_t’ does not name a type; did you mean ‘wchar_t’?
> |      typedef char16_t UChar;
> |              ^~~~~~~~
> |              wchar_t
> 
> May have to do with our use of `-std=gnu98++`.

You should also send a patch to fix the same problem in meta-qt4 master, 
by disabling icu altogether (as oe-core master already has icu 59). 
Please see the previous discussion around this patch.


Alex



More information about the yocto mailing list