Diagnosing failures to build QT module interfaces in PyQt6

Robert Bruccoleri bruc at stone.congenomics.com
Wed Apr 15 16:33:38 BST 2026


I'm trying to install a Qt6 application written in Python that requires 
the QtWidgets module. I don't know how to diagnose a building failure, 
and I hope that someone can guide me on how to diagnose the problem.

Here's some relevant version information:

   This is the GPL version of PyQt 6.11.0 (licensed under the GNU 
General Public License) for Python 3.12.10 on linux.

   The Linux distribution is Redhat Linux Enterprise 8.10.

I've built Qt6.11.0 from source. There were no errors in the build and 
installation steps. The shared object for QtWidgets (libQt6Widgets.so) 
was successfully built.

When I install PyQt6 using pip, the log messages indicate PyQt6 attempts 
to construct bindings for QtWidgets:

Checking to see if the QtWidgets bindings can be built...

but the bindings are not built.

How do I diagnose why the bindings cannot be built?

Thank you. --Robert



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20260415/a72dd948/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bruc.vcf
Type: text/x-vcard
Size: 189 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20260415/a72dd948/attachment.vcf>


More information about the PyQt mailing list