Hi Rafael! On Mon, Nov 30, 2020 at 09:32:06AM +0100, Rafael Laboissière wrote: > The following succeeds: > > cd <build_dir>/obj-x86_64-linux-gnu/bindings/qt_gui/pyqt5 && > /usr/bin/sip5 -c . -I/usr/lib/python3/dist-packages/PyQt5/bindings > -n PyQt5.sip -t Qt_5_14_0 -t WS_X11 > <build_dir>/bindings/qt_gui/pyqt5/plplot_pyqt5.sip
Please note that upstream is going to remove the sip5 script in SIP v6, which will be released in a few months: https://www.riverbankcomputing.com/static/Docs/sip/legacy_command_line_tools.html So it would be better to switch to the completely new build system that was introduced in SIP v5: https://www.riverbankcomputing.com/static/Docs/sip/examples.html Here are two examples of projects that I converted to the new build system: https://github.com/frescobaldi/python-poppler-qt5/pull/41 https://github.com/GauiStori/PyQt-Qwt/pull/14 > I only changed “-t Qt_5_15_0” to “-t Qt_5_14_0”. It looks like there is > something hardcoding my build above to Qt version 5.14. Can you check what the module-tags are in /usr/lib/python3/dist-packages/PyQt5/bindings/QtCore/QtCore.toml? If it says 5.14, make sure you have the latest pyqt5-dev package installed. -- Dmitry Shachnev