diff options
Diffstat (limited to 'Source/WebKit/qt/Api/qwebkitglobal.h')
| -rw-r--r-- | Source/WebKit/qt/Api/qwebkitglobal.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Source/WebKit/qt/Api/qwebkitglobal.h b/Source/WebKit/qt/Api/qwebkitglobal.h index 1d61182c8..5b866beb7 100644 --- a/Source/WebKit/qt/Api/qwebkitglobal.h +++ b/Source/WebKit/qt/Api/qwebkitglobal.h @@ -27,13 +27,19 @@ #define QTWEBKIT_VERSION_CHECK(major, minor, patch) ((major<<16)|(minor<<8)|(patch)) #ifndef QT_STATIC -# if defined(BUILDING_WEBKIT) +# if defined(QT_BUILD_WEBKIT_LIB) # define QWEBKIT_EXPORT Q_DECL_EXPORT # else # define QWEBKIT_EXPORT Q_DECL_IMPORT # endif +# if defined(QT_BUILD_WEBKITWIDGETS_LIB) +# define QWEBKITWIDGETS_EXPORT Q_DECL_EXPORT +# else +# define QWEBKITWIDGETS_EXPORT Q_DECL_IMPORT +# endif #else # define QWEBKIT_EXPORT +# define QWEBKIT_EXPORT #endif QWEBKIT_EXPORT QString qWebKitVersion(); |
