Diagnosing failures to build QT module interfaces in PyQt6
Robert Bruccoleri
bruc at stone.congenomics.com
Fri Apr 17 00:44:59 BST 2026
Dear Phil,
I believe I found an error in the PyQt6 documentation. In the
example invocation with additional configuration options:
pip -v install --config-settings --confirm-license= --config-settings --qmake=/path/to/qmake PyQt6
The "--qmake" option did not work for me, and when I checked the code,
there was nothing to process that option. It appears that 'qmake' must
be on the PATH for the installation to work properly.
Thank you. --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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20260416/fdbfb212/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/20260416/fdbfb212/attachment.vcf>
More information about the PyQt
mailing list