[yocto] [PATCH] qt4-native: depend on icu-native to fix build on systems with icu >=59

Alexander Kanavin alexander.kanavin at linux.intel.com
Wed Jun 7 05:24:38 PDT 2017


On 06/07/2017 07:19 AM, Cody P Schafer wrote:
> 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
>

We will introduce icu 59 to oe-core at some point (in fact, I have a 
patch queued), and then this fix will no longer work.

You need to fix Qt4 itself.

Alex




More information about the yocto mailing list