[Qgis-user] Need help with problems with Python console with QGIS built from source on Kubuntu 25.10
Michael Rans
mcarans at yahoo.co.uk
Sat Nov 8 16:08:53 PST 2025
I want to build QGIS from source so it uses the latest GDAL which I've built from source.
I have been able to get QGIS to build on Kubuntu 25.10. The problems I have run into are on startup with the Python console.
Building with Qt5, I get "qgis._gui cannot import type '����' from PyQt5.QtCore". One possibility is that the build is using the wrong sip version as it seems to find sip-build. My understanding is that sip-build is for Qt6 while sip is for Qt5, but even setting the cmake flag in the cmake UI to use sip instead of sip-build, it seems to keep using sip-build regardless. More here: https://github.com/qgis/QGIS/issues/63834
Building with Qt6 by setting the appropriate flag in the cmake UI, I get a QGIS Qt6 build startup failure in qgsfeature "No module named 'PyQt5'" I don't know why it is trying to use Qt5 in a Qt6 build. More here: https://github.com/qgis/QGIS/issues/63847
Please can anyone help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20251109/e8049dfc/attachment.htm>
More information about the QGIS-User
mailing list