[RFC][PATCH] split kutils -> {kprintutils,kcmutils}

Thiago Macieira thiago at kde.org
Wed Feb 20 16:14:17 GMT 2008

On Wednesday 20 February 2008 13:29:35 Marc Mutz wrote:
> kutils is retained with a dummy.cpp, linking against both new libs, for
> compatibility with 4.0. This works on ELF, and 4.0 wasn't released on
> Windows and Mac, so it won't be a problem there. That leaves non-ELF Unix
> platforms. Does this trick work there, too?

I did an exhaustive test on all supported platforms for that when I moved 
QXmlStream* classes from QtXml to QtCore. Quoting my findings from Qt 4.4's 

// These platforms do not support symbol moving nor duplication
// (because duplicate symbols cause warnings when linking):
//   Apple MacOS X (Mach-O executable format)
//   IBM AIX (XCOFF executable format)
// These platforms do not support symbol moving but allow it to be duplicated:
//   Microsoft Windows (COFF PE executable format)
//      special case: Windows CE wasn't supported before 4.4.0
// These platforms support symbol moving:
//   HP HP-UX (PA-RISC2.0 shared executables)
//   HP HP-UXi (ELF executable format)
//   FreeBSD (ELF executable format)
//   Linux (ELF executable format)
//   SGI IRIX (ELF executable format)
//   Sun Solaris (ELF executable format)

  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080220/07f51f8e/attachment.sig>

More information about the kde-core-devel mailing list