Diagnosing failures to build QT module interfaces in PyQt6

Phil Thompson phil at riverbankcomputing.com
Wed Apr 15 16:38:56 BST 2026


On 15/04/2026 16:33, Robert Bruccoleri wrote:
> 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

Use the --verbose flag to start.

Phil


More information about the PyQt mailing list