[Qt-interest] doubt regarding creation of shared libs in QT

Thiago Macieira thiago at kde.org
Sat May 8 09:06:05 CEST 2010


Em Sexta-feira 7. Maio 2010, às 17.22.40, Oliver.Knoll at comit.ch escreveu:
> But again, on Linux (and Mac OS X with gcc, too) Q_DECL_EXPORT renders to
> "nothing", AFAIK. So if you are programming some kernel module you can
> probably skip this entirely ;)

Not really, it renders to __attribute__((visibility("default"))), which is 
used to counter the effects of -fvisibility=hidden -fvisibility-inlines-hidden 
from the command-line.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100508/c0d78f49/attachment.bin 


More information about the Qt-interest-old mailing list