<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Dear Phil,<br>
I believe I found an error in the PyQt6 documentation. In the
example invocation with additional configuration options:<br>
<br>
<pre><span class="n">pip</span> <span class="o">-</span><span class="n">v</span> <span class="n">install</span> <span class="o">--</span><span class="n">config</span><span class="o">-</span><span class="n">settings</span> <span class="o">--</span><span class="n">confirm</span><span class="o">-</span><span class="n">license</span><span class="o">=</span> <span class="o">--</span><span class="n">config</span><span class="o">-</span><span class="n">settings</span> <span class="o">--</span><span class="n">qmake</span><span class="o">=/</span><span class="n">path</span><span class="o">/</span><span class="n">to</span><span class="o">/</span><span class="n">qmake</span> <span class="n">PyQt6
</span></pre>
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.<br>
<br>
Thank you. --Robert<br>
<br>
<div class="moz-cite-prefix">On 4/15/26 11:38 AM, Phil Thompson
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:f06d64c29500bfa8f6abbaad85c91e0e@riverbankcomputing.com">On
15/04/2026 16:33, Robert Bruccoleri wrote:
<br>
<blockquote type="cite">I'm trying to install a Qt6 application
written in Python that
<br>
requires the QtWidgets module. I don't know how to diagnose a
building
<br>
failure, and I hope that someone can guide me on how to diagnose
the
<br>
problem.
<br>
<br>
Here's some relevant version information:
<br>
<br>
This is the GPL version of PyQt 6.11.0 (licensed under the GNU
<br>
General Public License) for Python 3.12.10 on linux.
<br>
<br>
The Linux distribution is Redhat Linux Enterprise 8.10.
<br>
<br>
I've built Qt6.11.0 from source. There were no errors in the
build and
<br>
installation steps. The shared object for QtWidgets
(libQt6Widgets.so)
<br>
was successfully built.
<br>
<br>
When I install PyQt6 using pip, the log messages indicate PyQt6
<br>
attempts to construct bindings for QtWidgets:
<br>
<br>
Checking to see if the QtWidgets bindings can be built...
<br>
<br>
but the bindings are not built.
<br>
<br>
How do I diagnose why the bindings cannot be built?
<br>
<br>
Thank you. --Robert
<br>
</blockquote>
<br>
Use the --verbose flag to start.
<br>
<br>
Phil
<br>
</blockquote>
<br>
</body>
</html>