KDE_EXPORT question

Thiago Macieira thiago at kde.org
Sat Apr 29 16:05:10 BST 2006


Allen Winter wrote:
> 3. each class file fooclass.h should include "kdemodule_export.h"
> (kwebdev_export.h??) kdemodule_export.h needs to be someplace in your
> module that all libraries can access 4. kdemodule_export.h should have
> a section like this
>
>      #if defined _WIN32 || defined _WIN64

Hint: Q_OS_WIN

>      # include <kdemodule_export_win.h>
>      #else /* UNIX */
>      /* export statements for unix */
>      #define KHOLIDAYS_EXPORT KDE_EXPORT  //for example
>     /* put all your FOO_EXPORT KDE_EXPORT defines here
>      #endif

-- 
Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
  thiago.macieira (AT) trolltech.com     Trolltech AS
    GPG: 0x6EF45358                   |  Sandakerveien 116,
    E067 918B B660 DBD1 105C          |  NO-0402
    966C 33F5 F005 6EF4 5358          |  Oslo, Norway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060429/56e3f3a2/attachment.sig>


More information about the kde-core-devel mailing list