Bug 47347

Summary: [Qt] Linking libWebKit2.a in anything else than libQtWebKit.so results in unresolved symbols.
Product: WebKit Reporter: Jocelyn Turcotte <jturcotte>
Component: Tools / TestsAssignee: Jocelyn Turcotte <jturcotte>
Status: RESOLVED FIXED    
Severity: Enhancement CC: abecsi
Priority: P2 Keywords: Qt, QtTriaged
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
Patch none

Jocelyn Turcotte
Reported 2010-10-07 07:13:57 PDT
The problem is that the -whole-archive option is used when using addWebKit2Lib to link libWebKit2.a to a target. Since all objects are included, those that relies on using WebCore's internals results in unresolved symbols if those internals are not in the target as well. This is currently a problem with WebKitTestRunner's InjectedBundle which needs the WebKit2 shared API included in libWebKit2.a
Attachments
Patch (3.10 KB, patch)
2010-10-07 07:19 PDT, Jocelyn Turcotte
no flags
Jocelyn Turcotte
Comment 1 2010-10-07 07:19:28 PDT
Andras Becsi
Comment 2 2010-10-08 07:00:41 PDT
Comment on attachment 70085 [details] Patch Clearing flags on attachment: 70085 Committed r69397: <http://trac.webkit.org/changeset/69397>
Andras Becsi
Comment 3 2010-10-08 07:00:51 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.