<div dir="ltr"><div><div>Hi All,<br><br></div><div>Is there a recommended way to go about building a Qt5 C++ extension for PyQt5 that exposes a new widget to Python code?<br><br></div><div>Writing the C++ code and SIP file is not a problem.<br>
<br></div><div>Compiling the C++ code with qmake into a library is not a problem.<br><br></div><div>But how do I build the PyQt5 stuff for it? This was all very easy to do with PyQt4. <b>The functionality that made it easy to do, pyqtconfig, is gone from PyQt5. However, the example in the SIP docs still relies on pyqtconfig.</b><br>
</div></div><div><br></div><div>Any advice more useful than "examine the 2575 line PyQt5 configure.py script" would be greatly appreciated.<br></div><div><br></div><div>Thanks,<br>Erik<br></div></div>