-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
upgrade to PyQt6 #688
Comments
Looks like pyqt6 doesn't work with python 3.10 or later. There are several discussions on the web about this. Basically:
there's no obviously useful info in the traceback, as it seems to refer to a generated file and would take a lot of work to track down. This link may be a solution - though it sounds a bit odd, and, would need to make sure it works on a built installation. |
This thread has more detail, and this comment near the end of the thread seems to provide a solution - probably the same thing as mentioned above. |
Also, it looks like Qt6 doesn't work on 32bit - only 64bit: So maybe it's time to jump to 64bit... |
Also notice at the Qt docs that Qt6 only supports windows 10 1809 or newer (Oct 2018) and Windows 11. Maybe not a big deal - that is 5 years ago - but, it could potentially be cutting off any current radiolog users who have old versions of Windows. Either way - should still move forward with a test case of 64bit-everything in a virtualenv. If pyqt6 doesn't fix anything, then maybe it's not worth upgrading anyway. |
In the virtualenv, Windows 10, python 3.12 64bit: pyqt6 installed from wheels with no action needed. Interesting, but, OK:
Onwards. |
PyQt6 came out in Jan 2021. That's been plenty of time for the kinks to get worked out.
There are indications/hopes that PyQt6 might fix some font size / dpi issue scaling issues - see #683 and #633.
For some issues regarding display (#668, #669, maybe others) it will make more sense to do the investigation after the upgrade - heck, upgrading may even fix them!
Here's a good web page that talks about the migration procedure:
https://www.pythonguis.com/faq/pyqt5-vs-pyqt6
The text was updated successfully, but these errors were encountered: