<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi</p>
<p>I have PyQt5-5.15.4 on Fedora, built with sip-6.1.1 and
pyqt-builder 1.10.3 by running</p>
<p>sip-build \<br>
--no-make \<br>
--qt-shared \<br>
--confirm-license \<br>
--qmake=%{_qt5_qmake} \<br>
--api-dir=%{_qt5_datadir}/qsci/api/python \<br>
--verbose \<br>
--dbus=%{_includedir}/dbus-1.0/ \<br>
--pep484-pyi \<br>
--qmake-setting 'QMAKE_CFLAGS_RELEASE="%{optflags}"' \<br>
--qmake-setting 'QMAKE_CXXFLAGS_RELEASE="%{optflags} `pkg-config
--cflags dbus-python`"' \<br>
--qmake-setting 'QMAKE_LFLAGS_RELEASE="%{?__global_ldflags}"'</p>
<p><br>
</p>
<p>If I then run<br>
</p>
<p>from PyQt5.QtCore import *</p>
<p>I get <span style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;">ModuleNotFoundError:
No module named 'PyQt5.sip'</span></span></p>
<p><span style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;">If I also
build pyqt5-sip, which installs
sip.cpython-310-x86_64-linux-gnu.so to
.../site-packages/PyQt5/</span>, everything works.</span></p>
<p><span style="font-family:monospace">Is this an issue with
building PyQt5, or is pyqt5-sip still required also when
building with sip5+?</span></p>
<p><span style="font-family:monospace">Thanks</span></p>
<p><span style="font-family:monospace">Sandro<br>
</span></p>
<p><br>
</p>
</body>
</html>