[QGIS-Developer] cmake PYQT_SIP_DIR (via Python_SITEARCH) value wrong on Debian and derivatives

Richard Duivenvoorde rdmailings at duif.net
Fri Feb 9 04:44:25 PST 2024


Hi Devs,

I kept getting the https://github.com/qgis/QGIS/issues/54184 issue: sip not being able to find the Qt package sips: 'QtNetwork/QtNetworkmod.sip' could not be found etc etc

You can fix this with (on Ubuntu or Debian), by using (before your cmake step):

export DEB_PYTHON_INSTALL_LAYOUT=deb

Would it be possible/wise to add this to the standard QGIS build scripts?

For more info/explanation, see https://github.com/qgis/QGIS/issues/54184#issuecomment-1935855984

Regards,

Richard Duivenvoorde




More information about the QGIS-Developer mailing list