Bug 25601

Summary: [Qt] Make sure that public APIs are properly exported on all Qt supported platforms
Product: WebKit Reporter: Laszlo Gombos <laszlo.gombos>
Component: WebKit QtAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: manyoso
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: All   
Attachments:
Description Flags
Proposed fix. zecke: review+

Description Laszlo Gombos 2009-05-06 19:53:41 PDT
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.
Comment 1 Laszlo Gombos 2009-05-06 20:00:28 PDT
Created attachment 30082 [details]
Proposed fix.
Comment 2 Holger Freyther 2009-05-11 03:41:25 PDT
Comment on attachment 30082 [details]
Proposed fix.

thanks.
Comment 3 Holger Freyther 2009-05-11 09:24:06 PDT
Landed in r43497.