-
Notifications
You must be signed in to change notification settings - Fork 44
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
PyQt5 Quartz backend fails #516
Comments
Replacing the line with
stops the segfault with PyQt5, but now things are drawing in the wrong location - relative to the window rather than the widget: I suspect that we need to apply a transformation to get it to render into the correct location. |
Even with your fix and a better location computed via Note that I also played around with |
I see two options here:
|
Discussed this offline with @corranwebster. I will be moving forward with the second option from above: just use offscreen rendering for Qt. Once #645 is merged, this should be trivial to implement. |
Running Kiva explorer with the command
ETS_TOOLKIT=qt4.quartz python kiva_explorer.py
on MacOS Catalina, with the PyQt5 toolkit installed withpython ci/edmtool.py install --toolkit=pyqt5
from the branch of #515 gives a hard crash:The text was updated successfully, but these errors were encountered: