[PyQt] Fwd: PyQt documentation where PyQt function is not same as Qt C++ function
Florian Bruhin
me at the-compiler.org
Tue Nov 28 17:02:28 GMT 2017
On Tue, Nov 28, 2017 at 04:53:18PM +0000, J Barchan wrote:
> Purely OOI, do we know whether the automated "Qt C++ to PyQt Python
> converter" recognises this signature pattern (i.e. non-const * or &) and
> automatically generates a tuple-return for it? Somehow I doubt it (too
> difficult, too reliant on C++ signature using const everywhere correctly),
> so I'm thinking these tuple-returns are handled by the author manually?
PyQt has binding definition files (.sip files), which are basically C++ header
files (.h) with additional annotations. For those cases, there's an /Out/ or
/In,Out/ annotation in it.
Those are generated in a half-automated way as far as I'm aware, see
https://dot.kde.org/2006/08/09/phil-thompson-talks-about-pyqt
(Unless something changed about that in the meantime, which is something only
Phil can answer :D)
Florian
--
https://www.qutebrowser.org | me at the-compiler.org (Mail/XMPP)
GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc
I love long mails! | https://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20171128/ba67deb7/attachment.sig>
More information about the PyQt
mailing list