[PyQt] examples/docs for exposing custom Qt5 C++ widget through PyQt5

Erik Hvatum ice.rikh at gmail.com
Fri Apr 4 20:45:27 BST 2014


Hi All,

Is there a recommended way to go about building a Qt5 C++ extension for
PyQt5 that exposes a new widget to Python code?

Writing the C++ code and SIP file is not a problem.

Compiling the C++ code with qmake into a library is not a problem.

But how do I build the PyQt5 stuff for it?  This was all very easy to do
with PyQt4.  *The functionality that made it easy to do, pyqtconfig, is
gone from PyQt5.  However, the example in the SIP docs still relies on
pyqtconfig.*

Any advice more useful than "examine the 2575 line PyQt5 configure.py
script" would be greatly appreciated.

Thanks,
Erik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20140404/200aa469/attachment.html>


More information about the PyQt mailing list