diff options
Diffstat (limited to 'WebKit/qt/Api/qwebkitglobal.h')
-rw-r--r-- | WebKit/qt/Api/qwebkitglobal.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/WebKit/qt/Api/qwebkitglobal.h b/WebKit/qt/Api/qwebkitglobal.h index 2486fb6..19d9218 100644 --- a/WebKit/qt/Api/qwebkitglobal.h +++ b/WebKit/qt/Api/qwebkitglobal.h @@ -23,15 +23,29 @@ #include <QtCore/qglobal.h> #if defined(Q_OS_WIN) +# if defined(QT_NODLL) +# undef QT_MAKEDLL +# undef QT_DLL +# elif defined(QT_MAKEDLL) /* create a Qt DLL library */ +# if defined(QT_DLL) +# undef QT_DLL +# endif # if defined(BUILD_WEBKIT) # define QWEBKIT_EXPORT Q_DECL_EXPORT # else # define QWEBKIT_EXPORT Q_DECL_IMPORT # endif +# elif defined(QT_DLL) /* use a Qt DLL library */ +# define QWEBKIT_EXPORT Q_DECL_IMPORT +# endif #endif #if !defined(QWEBKIT_EXPORT) -#define QWEBKIT_EXPORT Q_DECL_EXPORT +# if defined(QT_SHARED) +# define QWEBKIT_EXPORT Q_DECL_EXPORT +# else +# define QWEBKIT_EXPORT +# endif #endif #if QT_VERSION < 0x040400 |