<div dir="ltr"><div>OK, here is what I have:</div><div><br></div><div>```</div><div><span style="font-family:monospace"><span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)">stefan@quasimodo</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">$ ./bin/pip install PyQt6-Qt
</span><br>Collecting PyQt6-Qt
<br> Downloading PyQt6_Qt-6.0.1-py3-none-manylinux_2_28_x86_64.whl (46.5 MB)
<br> <span style="color:rgb(114,156,31);background-color:rgb(255,255,255)">━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"> </span><span style="color:rgb(24,178,24);background-color:rgb(255,255,255)">46.5/46.5 MB</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"> </span><span style="color:rgb(178,24,24);background-color:rgb(255,255,255)">3.0 MB/s</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"> eta </span><span style="color:rgb(24,178,178);background-color:rgb(255,255,255)">0:00:00</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>Installing collected packages: PyQt6-Qt
<br>Successfully installed PyQt6-Qt-6.0.1
<br><span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)">stefan@quasimodo</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">$ ./bin/bpython
</span><br>bpython version 0.24 on top of Python 3.11.4 /home/stefan/tsi/tsi-dev-platform/pyqt6-tmp/bin/python3
<br><span style="color:rgb(24,178,178);background-color:rgb(255,255,255)">>>> </span><span style="color:rgb(178,104,24);background-color:rgb(255,255,255)">from</span><span style="font-weight:bold;color:rgb(84,255,255);background-color:rgb(255,255,255)"> </span><span style="color:rgb(24,178,178);background-color:rgb(255,255,255)">PyQt6</span><span style="font-weight:bold;color:rgb(84,255,255);background-color:rgb(255,255,255)"> </span><span style="color:rgb(178,104,24);background-color:rgb(255,255,255)">import</span><span style="font-weight:bold;color:rgb(84,255,255);background-color:rgb(255,255,255)"> </span><span style="color:rgb(24,178,178);background-color:rgb(255,255,255)">Qt</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="color:rgb(24,178,178);background-color:rgb(255,255,255)">>>> dir</span><span style="color:rgb(178,104,24);background-color:rgb(255,255,255)">(</span><span style="color:rgb(24,178,178);background-color:rgb(255,255,255)">Qt</span><span style="color:rgb(178,104,24);background-color:rgb(255,255,255)">)</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>['__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__']
<br><span style="color:rgb(24,178,178);background-color:rgb(255,255,255)">>>> </span><br><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span>```<br></span></div><div><span style="font-family:monospace">Even so, if `PyQt6.Qt` no longer exists, is there a document explaining the migration path from PyQt5 to PyQt6, and especially about what those `Qt` symbols need to be replaced with ? All the online docs I found either don't talk about this, or state that the `Qt` module works almost as before.<br></span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">Thanks,<br></span></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Sep 14, 2023 at 1:35 PM Phil Thompson <<a href="mailto:phil@riverbankcomputing.com">phil@riverbankcomputing.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 14/09/2023 18:16, Stefan Seefeld wrote:<br>
> Thanks Phil for the quick reply !<br>
> <br>
> I'm a bit confused now. When I install both packages, I can do `from <br>
> PyQt6<br>
> import Qt`, so it definitely does seem to exist.<br>
<br>
>>> from PyQt6 import Qt<br>
Traceback (most recent call last):<br>
File "<stdin>", line 1, in <module><br>
ImportError: cannot import name 'Qt' from 'PyQt6' <br>
(/Users/phil/bob/venv/develop-3.12/lib/python3.12/site-packages/PyQt6/__init__.py)<br>
<br>
Phil<br>
</blockquote></div><br clear="all"><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><img src="https://ci3.googleusercontent.com/mail-sig/AIorK4yh4RzsqlxV6irScDGRVZ8a7NRCh_INtpPsAHx2Y8v4Vu3VKsI54RFNs3YRZk_2xTTtMMdSCzdNrf5XRUlmF4BkezmtZv-j5c3A4G0hEA"></div><div><pre> ...ich hab' noch einen Koffer in Berlin...
</pre></div></div></div>