#ifndef COMMODITY_GLOBAL_H #define COMMODITY_GLOBAL_H #include #if defined(COMMODITY_LIBRARY) # define COMMODITYSHARED_EXPORT Q_DECL_EXPORT #else # define COMMODITYSHARED_EXPORT Q_DECL_IMPORT #endif #endif // COMMODITY_GLOBAL_H #ifdef COMMODITY_LIBRARY #define QX_REGISTER_HPP_COMM QX_REGISTER_HPP_EXPORT_DLL #define QX_REGISTER_CPP_COMM QX_REGISTER_CPP_EXPORT_DLL #else // COMMODITY_LIBRARY #define QX_REGISTER_HPP_COMM QX_REGISTER_HPP_IMPORT_DLL #define QX_REGISTER_CPP_COMM QX_REGISTER_CPP_IMPORT_DLL #endif