On Thu, Oct 14, 2010 at 1:52 PM, Mohammed Rashad <[email protected]
> wrote:

> and Is it possible to do with Google V8.
>

If you write a DOM implementation using v8. If you're using Qt (which i am
guessing from your reference to QPixmap), the Qt HTML widget supports
javascript but unfortunately it is a different JS engine than QtScript
(which is also javasript). Last i checked, there was no way to plug in C++
code to the JS engine which is used in their HTML widget. (That was well
over a year ago, though - maybe they've added it since then.)

v8 provides ONLY what the ECMA core language spec calls for, and does not
provide any DOM functionality. (In fact, every JS engine i've used or
perused provides only these features, leaving the DOM implementations to
specific browsers.)

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/

-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users

Reply via email to