[Releasing] ICU support in QtCore and QtWebKit

Thiago Macieira thiago.macieira at intel.com
Wed Sep 12 13:19:35 CEST 2012


On quarta-feira, 12 de setembro de 2012 12.47.10, Stephen Kelly wrote:
> On Tuesday, September 11, 2012 12:25:02 Thiago Macieira wrote:
> > As some of
> > you may know, the ICU developers attended the "OpenSSL School of Library
> > Naming"
> 
> Have you or anyone else made any effort to notify them of these troubles, so
> that they can be avoided in the future? There's no point in complaining
> about it like this if there has been no effort to address it upstream.

Hmm... after some investigation, turns out that they already know about it:

http://userguide.icu-project.org/design#TOC-ICU-Binary-Compatibility:-Using-
ICU-as-an-Operating-System-Level-Library

> ICU4C may be configured for use as a system library in an environment where
> applications that are built with one version of ICU must continue to run
> without change with later versions of the ICU shared library.
> 
> Here are the requirements for enabling binary compatibility for ICU4C:
> 
> 1. Applications must use only APIs that are marked as stable.
> 2. Applications must use only plain C APIs, never C++.
> 3. ICU must be built with function renaming disabled.
> 4. Applications must be built using an ICU that was configured for binary
> compatibility.
> 
> Use ICU version 3.0 or later.

The problem is the #3 point. Apparently the problem is instead on the Linux 
distributions that haven't added the --disable-renaming option to ICU in their 
build configs.

That goes to show how the default options are important.

I'm filing a bug report to the Linux distribution I use. But it's too late to 
fix the past releases of any Linux distribution, so this means we can probably 
skip building ICU with the Qt SDK binaries with Qt 5.3 or 5.4, in 2014.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/releasing/attachments/20120912/f4bca3b5/attachment.sig>


More information about the Releasing mailing list