mirror of
https://github.com/wang-bin/QtAV.git
synced 2026-10-18 13:11:13 +08:00
9e092b0bec
dllimport must be removed if link to a static lib. now it's not removed because it's impossible to detect whether we link to a static lib
18 lines
395 B
C
18 lines
395 B
C
#ifndef COMMON_EXPORT_H
|
|
#define COMMON_EXPORT_H
|
|
|
|
#include <QtCore/qglobal.h>
|
|
|
|
#ifdef BUILD_COMMON_STATIC
|
|
#define COMMON_EXPORT
|
|
#else
|
|
#if defined(BUILD_COMMON_LIB)
|
|
# undef COMMON_EXPORT
|
|
# define COMMON_EXPORT Q_DECL_EXPORT
|
|
#else
|
|
# undef COMMON_EXPORT
|
|
# define COMMON_EXPORT //Q_DECL_IMPORT //only for vc? link to static lib error
|
|
#endif
|
|
#endif //BUILD_COMMON_STATIC
|
|
#endif // COMMON_EXPORT_H
|