[SOLVED]Q_DECL_EXPORT works, but macro not...

  • I have Shared library, which has predefined macro. The strangest thing on that is this:
    @Q_DECL_EXPORT Configurator* getConfigurator(void); // works
    SHARED_LIBRARY Configurator* getConfigurator(void); // no that doesn't work...@

    Question is: Why it doesn't work?

    EDIT: I have solved it. I didn't have included Configurator_global.h file (strange...)

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.