[PyQt] pyjamas desktop port now using pyqt4: bugs and limitations of PyQt4.QtWebKit encountered

David Boddie dboddie at trolltech.com
Mon Jun 7 17:16:14 BST 2010

On Mon Jun 7 09:25:55 BST 2010, Christophe wrote:

>>> QtWebKit, not PyQt, provides the bridge between C++ and JavaScript. PyQt
>>> integrates Python with Qt's meta-object system which gives you the bridge
>>> between Python and JavaScript for free. 

> Are there simple and not so simple examples of this kind of
> functionnalities somewhere ?

People keep asking this in various places. I seem to remember helping someone
write some code to put Qt objects into the WebKit JavaScript environment
fairly recently. I always refer back to some code I wrote last year for this:


An extreme example can be found here:


Unfortunately, there are only C++ versions of the QWebElement examples:


However, it should be quite easy to port these to Python.


More information about the PyQt mailing list