-
Notifications
You must be signed in to change notification settings - Fork 73
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
Compatibility with PyQt5 #421
Comments
For reference, git-cola used qtpy for the transition, here is the relevant issue if you're interested in the discussion: git-cola/git-cola#232 |
I think that makes sense. Now to find the time to do it :) |
How much work do you reckon this would require? |
I find it hard to guess. I recon that it won't be too much, since Pyzo uses the new-style PyQt already. Though I don't know what problems will come up. Possibly using qtpy might help. |
Is |
yes, all code in Pyzo eventually loads it from that module. |
About done, except testing on PySide / PyQt5: #433 |
Do you want me to try it out with PyQt5? SincePyQt5 is packaged as a wheel on PyPI, it should be quite straightforward. Overall, what's left to be done for the next stable release to happen? |
I want to have a look at the binaries for Linux; whether updating Qt, or using PyQt5 fixes these nasty issues we're having. I you want to try out PyQt5 with this branch that would be helpful, thanks! |
I'll spin up a venv with PyQt5 and the dev snapshot and program in it for the day. I'll report anything unusual. |
QStringListModel in QtCore not QtWidgets. |
Here is the full diff I had to apply to allow Pyzo to load with PyQt5. Hope this helps. |
Awesome! Thanks for that @ghisvail ! |
Nothing bad to report. Shall I turn the .diff into a PR? |
Please :D |
The Python ecosystem is slowly but surely transitioning to Qt5. Are there any plans to make
pyzo
compatible with PyQt5 (and perhaps PySide2 later) in the future? Perhaps using a shim layer like the spyder guys did?The text was updated successfully, but these errors were encountered: