[PyQt] PyQt Release Plans and Qt v4.4 Support

Phil Thompson phil at riverbankcomputing.com
Mon Apr 21 00:11:33 BST 2008


On Friday 18 April 2008, Henning Schröder wrote:
> Ok I got the snapshot working by changing "void *a0" into "uchar *a0"
> for QFile::unwrap :-)
>
> I was playing a litte bit with QtWebKit after reading
> http://www.trolltech.com/pdf/qt-webkit-mar-2008-whitepaper-a4.pdf
> There is an example which shows that is possible that a webpage can
> interact with QObjects by exposing slots to JavaScript.
>
> I can do nearly the same with the pyqtSignature decorator, which is
> cool. Unfortunately this only works one way because I cannot define a
> result type.
> Could this be added to the decorator?

This will be in tonight's snapshots - you'll need SIP and PyQt4. At the moment 
only the int return type is supported - I'll add the other types in a day or 
two.

Attached is a slightly modified version of your example.

Phil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: webkit.py
Type: application/x-python
Size: 882 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20080421/4816e3c0/webkit.bin


More information about the PyQt mailing list