Diagnosing failures to build QT module interfaces in PyQt6

Robert Bruccoleri bruc at stone.congenomics.com
Wed Apr 15 19:28:43 BST 2026


Dear Phil,
     Thank you!!

     The problem was linking to the wrong version of libharfbuzz.so on 
my system. The Qt shared objects were referencing Harfbuzz functions 
that weren't in the libharfbuzz.so that they were referencing. The 
problem is in the build script for Qt6 that I wrote.

     Best regards,
     Robert


On 4/15/26 11:38 AM, Phil Thompson wrote:
> 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