RESOLVED WONTFIX Bug 41664
[Qt] QScriptEngine should have an API for wrapping a QObject
https://bugs.webkit.org/show_bug.cgi?id=41664
Summary [Qt] QScriptEngine should have an API for wrapping a QObject
Kent Hansen
Reported 2010-07-06 01:51:07 PDT
See http://doc.trolltech.com/latest/qscriptengine.html#newQObject The JSC C API's JSClassDefinition and friends can be used to implement this feature.
Attachments
Kent Hansen
Comment 1 2010-07-06 03:23:00 PDT
There should also be corresponding methods QScriptValue::isQObject() and QScriptValue::toQObject().
Kent Hansen
Comment 2 2010-07-06 03:34:23 PDT
Kent Hansen
Comment 3 2010-07-27 10:46:57 PDT
I've started documenting Qt's existing QObject binding here: https://trac.webkit.org/wiki/QtScript
Jędrzej Nowacki
Comment 4 2011-07-07 07:51:58 PDT
Porting QtScript API over JSC C API will not be continued.
Note You need to log in before you can comment on or make changes to this bug.