WebCore should define QT_MAKEDLL (in WebCore.pro) for all non-static builds (not just for win) to for properly export all Qt public APIs. ChangeSet 41494 (http://trac.webkit.org/changeset/41494) intended to fix this by defining QT_SHARED in webkitdirs.pm, but since not all the Qt build environments are using the build-webkit perl script to build, WebCore.pro is a better place to fix this. I think QT_MAKEDLL is the proper define to export all Qt public APIs, and not QT_SHARED.
Created attachment 30082 [details] Proposed fix.
Comment on attachment 30082 [details] Proposed fix. thanks.
Landed in r43497.