Index: WebKit/qt/Api/qwebkitglobal.h =================================================================== --- WebKit/qt/Api/qwebkitglobal.h (revision 26079) +++ WebKit/qt/Api/qwebkitglobal.h (working copy) @@ -25,15 +25,13 @@ #include #if defined(Q_OS_WIN) -# if defined(BUILD_WEBKIT) -# define QWEBKIT_EXPORT Q_DECL_EXPORT -# else -# define QWEBKIT_EXPORT Q_DECL_IMPORT -# endif + #ifdef BUILD_WEBKIT + #define QWEBKIT_EXPORT __declspec(dllexport) + #else + #define QWEBKIT_EXPORT __declspec(dllimport) + #endif +#else + #define QWEBKIT_EXPORT __attribute__((visibility("default"))) #endif -#if !defined(QWEBKIT_EXPORT) -#define QWEBKIT_EXPORT Q_DECL_EXPORT -#endif - #endif // QWEBKITGLOBAL_H