benjaminrk at gmail.com
Tue Mar 4 15:39:11 EST 2014
You are right that PyQt5 is not really on our radar. The Qt code in IPython
is not getting much attention at this point - it basically works, and we do
not have any immediate plans to do more interesting things with it. I think
it is too late to get PyQt5 support into IPython 2.0, but I think it is
quite reasonable for 3.0.
We already have a compatibility shim in IPython.external.qt, so that is
where I would start to look for dealing with whatever changes PyQt5 makes.
On Tue, Mar 4, 2014 at 12:29 PM, Erik Hvatum <ice.rikh at gmail.com> wrote:
> Is anyone else interested in IPython PyQt5 support? PyQt5 support
> would be great for us at the Pincus Lab as we have a lot of code using
> PyQt5 that would potentially cooperate with the IPython event loop and
> integrate nicely - if only IPython supported PyQt5.
> I did some preliminary work on making IPython 2.0 code from the git
> repo use PyQt5. The primary problems I've encountered are that much
> of the QtGui namespace contents have been broken out into QtWidgets
> (easily fixed - add QtWidgets imports and replace QtGui with QtWidgets
> as required), and that __init__ behavior for objects multiply
> inheriting from Qt has changed (could be tricky, I haven't dug into
> this yet).
> Adding PyQt5 support alongside the existing support for PyQt4 and
> pyside qt4 is perhaps possible, though not something I need.
> Anyway, I have the impression that PyQt5 support is not on the radar
> at all, and I want it to be! It would be a real let down if IPython
> were stuck on Qt4 for the next decade due to IPython users writing new
> software for PyQt4 in order to be compatible with IPython...
> IPython-dev mailing list
> IPython-dev at scipy.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-dev