[Patch] fix compile kdeui with msvc

Thiago Macieira thiago at kde.org
Mon Oct 31 21:12:19 CET 2005


David Faure wrote:
>Looks good to me. I see no reason against having this activated by
> default, it will be useful in all svn modules.

This will help trying out visibility("protected"). There are two 
requirements:

1) setting protected only when building -- the importing is still 
"default"

2) it only works in "pure" texts: -fPIE, -fPIC, shared libraries (by 
extension, kdeinit and ioslaves). Otherwise, ELF mandates that global 
variables used by the application (e.g., QCoreApplication::self) be 
located in the application binary.

So far, I haven't managed yet to get past step #1.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

1. On frumscafte, hwonne time_t wæs náht, se scieppend þone circolwyrde 
wundorcræftlíge cennede and seo eorðe wæs idel and hit wæs gód.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20051031/3bf895cf/attachment.pgp


More information about the Kde-buildsystem mailing list