← Back to team overview

ubuntu-phone team mailing list archive

Re: [Development] Qt/QML Python bindings

 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Mar 20, 2013, at 02:38 PM, Robert Bruce Park wrote:

>I wonder which would take more effort: Creating a Qt equivalent of
>GObject Introspection from scratch, or writing all new bindings for
>Qt5 by hand...

I am *soooo* behind on email due to Pycon, but another very interesting option
that got a lot of buzz here was the cffi module.  It's supposed to be a much
better ctypes like thing, and a half cross with cython.  But I don't know the
Qt bindings, and cffi works with C not C++ so I don't know whether that's
appropriate or not.

FWIW, cffi comes out of the PyPy project and is a candidate for the stdlib in
Python 3.4.

https://pypi.python.org/pypi/cffi/0.5

I haven't used it yet, but it looks darn cool.

- -Barry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCAAGBQJRSi4CAAoJEBJutWOnSwa/2wwP/1ySKHF+mp8Vfk7m9V8SDkAj
UvAqjk5npyjBSWLXDnVSnG+7w+7O2ktsrinwKX+ozWKc73XJ04Ld1suAtaunuySW
yAIDzi+duXQCvLBVAIhrGYBrrcSrWdLZzyTHR3M27he8XMyK9E37mRzMFwAp9dXf
slgEim1sZ23u1OtZXC2tzX//Qs/i6GrA+9StQHA88ziPxg4vV4H7UOhSR5stxcer
iLKsgbM8sma5RoWj+SZ8DX3CVKJaDx/p5h7D0Fo89xe8Gs9yp8wXGD9MnUeJBHzj
lE9sHj1y58ddFCgZvQoaUE3fVK6HgHhKlVyFurKi4XDsMeHkkkFLLznM4AlY1hK8
3jB+zW946jo6SpkgmKZGWhdIogwvDx/TGESP/TyD76ZXV234db15rTicKyMno3wo
AV9D2yPhpY17PjFGIm5DLTiiz9OUhziM5Wi5Tk42nTujD92blnI/RM+UZXiij8RF
9vMMuy/YPf0bAVWQdyANX6CAFsMdEf2iUkkSeSa1atHxVCwWVhON3CuT5hFBdG03
ymVRaH/8UaXDXe+M2/3PdmbMnOZYFPTs06BoBhUiZ8azloG4G/pa0OBd3UqgQWm7
UBwiX+Qh+AOJtbYJe8RultK9A/nJFWsYRnxA3jZZ4c6iSEoUrmNibI+2DjYNnny/
sA+A3yIP/+OFHoRWl1kH
=UlU0
-----END PGP SIGNATURE-----

References