Ignore:
Timestamp:
Jul 21, 2006, 9:24:43 PM (19 years ago)
Author:
dmik
Message:

Plugin Support: Fixed: Q_EXPORT_PLUGIN and Q_EXPORT_COMPONENT macros procudced entry points with underscores, but resolved them without. Now, entry points use the _System decl to prevent underscores at all.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/tools/qcom_p.h

    r2 r99  
    305305#endif // Q_CREATE_INSTANCE
    306306
    307 #    ifdef Q_WS_WIN
     307#    if defined(Q_WS_WIN)
    308308#       ifdef Q_CC_BOR
    309309#           define Q_EXPORT_COMPONENT() \
     
    322322                Q_EXTERN_C __declspec(dllexport) QUnknownInterface* ucm_instantiate()
    323323#       endif
     324#    elif defined(Q_OS_OS2)
     325#       define Q_EXPORT_COMPONENT() \
     326            Q_UCM_VERIFICATION_DATA \
     327            Q_EXTERN_C \
     328            const char * _System qt_ucm_query_verification_data() \
     329            { return qt_ucm_verification_data; } \
     330            Q_EXTERN_C QUnknownInterface * _System ucm_instantiate()
    324331#    else
    325332#       define Q_EXPORT_COMPONENT() \
Note: See TracChangeset for help on using the changeset viewer.