<html><head></head><body><div class="yahoo-style-wrap" style="font-family:times new roman, new york, times, serif;font-size:16px;"><div dir="ltr" data-setdir="false">I want to build QGIS from source so it uses the latest GDAL which I've built from source.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">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. </div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Building with Qt5, I get "<span>qgis._gui cannot import type '����' from PyQt5.QtCore</span>". 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: <a href="https://github.com/qgis/QGIS/issues/63834" rel="nofollow" target="_blank">https://github.com/qgis/QGIS/issues/63834</a></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Building with Qt6 by setting the appropriate flag in the cmake UI, I get a <span>QGIS Qt6 build startup failure in qgsfeature "No module named 'PyQt5'"</span>  I don't know why it is trying to use Qt5 in a Qt6 build. More here: <a href="https://github.com/qgis/QGIS/issues/63847" rel="nofollow" target="_blank">https://github.com/qgis/QGIS/issues/63847</a></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Please can anyone help.</div></div></body></html>