Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[SOLVED]Q_DECL_EXPORT works, but macro not...
Peppy last edited by
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...)