Plans for PyQt6?
Phil Thompson
phil at riverbankcomputing.com
Tue Apr 28 16:55:20 BST 2020
On 28/04/2020 16:18, Detlev Offenbach wrote:
> Hi,
>
> one thing I would like to ask for already is some kind of 'porting
> tool' to
> make the job of porting PyQt5 applications to PyQt6 a bit easier (like
> in
> former times the 2to3 tool for Python). Somewhere I read, that Qt might
> be
> planning to provide such a tool. If it is usable for PyQt5 and/or
> PySide2 is
> unknown.
>
> Why am I asking for this? The eric-ide code base is quite large and it
> would
> be a task of months, if I had to scan it manually. I would have to find
> out
> about all the removed and changed API first.
>
> Detlev
Useful yes, but not a high priority at first. I wouldn't expect major
projects to consider migrating to PyQt6 for many months.
Phil
> Am Dienstag, 28. April 2020, 11:35:12 CEST schrieb Phil Thompson:
>> On 28/04/2020 10:20, Florian Bruhin wrote:
>> > Hey,
>> >
>> > Inspired by the thread about qmake, I was wondering what the plans for
>> > PyQt6
>> > are in general.
>> >
>> > Right now I'm assuming:
>> >
>> > - The module name will change from PyQt5 to PyQt6, so applications
>> > needing to
>> >
>> > support both will need some kind of wrapper
>> >
>> > - There will be relatively few API changes outside of the ones in Qt -
>> > right
>> >
>> > now I can only think of unscoped enum access being removed:
>> > https://www.riverbankcomputing.com/static/Docs/PyQt5/gotchas.html#enums
>> >
>> > - PyQt6 will be released some time after Qt 6 itself, though I guess
>> > nightly
>> >
>> > snapshots will work against Qt 6 at some point before that:
>> > https://lists.qt-project.org/pipermail/development/2020-April/039382.html
>> >
>> > Does that sound about right?
>>
>> Yes.
>>
>> I plan to start working with Qt6 much earlier than I did with Qt5 and
>> would expect the release of PyQt v6.0.0 to be soon after the
>> corresponding release of Qt.
>>
>> Closer to the time I will be asking people about other changes to make
>> -
>> this being an opportunity to break things for the better.
>>
>> Phil
More information about the PyQt
mailing list