Bug 45136 - [Qt] Make it possible to configure QtWebKit to use V8 (metabug)
Summary: [Qt] Make it possible to configure QtWebKit to use V8 (metabug)
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P3 Normal
Assignee: Vlad
URL:
Keywords:
Depends on: 45140 45141 45142 45144 45145 45146 45147 45148 45149 45150 45157
Blocks:
  Show dependency treegraph
 
Reported: 2010-09-02 15:23 PDT by Vlad
Modified: 2011-02-23 07:40 PST (History)
21 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vlad 2010-09-02 15:23:41 PDT
Make it possible to configure QtWebKit to use the V8 JavaScript engine instead of JavaScriptCore. At first, this would be useful for performance benchmarking and quality assurance.
Comment 1 Simon Hausmann 2010-09-02 23:52:13 PDT
Changing the order of blocking/depends. The sub-tasks block this task. We can close this bug when the sub-bugs are fixed :)
Comment 2 Simon Hausmann 2010-09-03 07:20:21 PDT
One idea for simplifying the build system changes a bit would be to replace the contains(QTJAVASCRIPTENGINE, V8) { ... } bits with a CONFIG, i.e. do

CONFIG += v8 at some point and then later on the test is a bit simpler:

v8 {
}
Comment 3 Vlad 2010-09-03 10:12:00 PDT
Idealy js engine value should be passed here... something like

perl WebKitTools\Scripts\build-webkit --qt --symbian --v8

not sure if it translates into CONFIG... If yes, I agree it is simplest way. Another dependency for v8 is public header path...

(In reply to comment #2)
> One idea for simplifying the build system changes a bit would be to replace the contains(QTJAVASCRIPTENGINE, V8) { ... } bits with a CONFIG, i.e. do
> 
> CONFIG += v8 at some point and then later on the test is a bit simpler:
> 
> v8 {
> }
Comment 4 Simon Hausmann 2010-09-20 02:50:00 PDT
WebKit trunk builds with V8 now, when --qt --v8 is passed to build-webkit and the Qt build is the one that contains the experimental port of QtScript to V8.
Comment 5 Simon Hausmann 2010-09-20 02:50:26 PDT
This bug has a corresponding JIRA issue: <http://bugreports.qt.nokia.com/browse/QTBUG-13184>