[PyQt] PyQt4 and Qt5
Phil Thompson
phil at riverbankcomputing.com
Tue Sep 4 10:35:41 BST 2012
On Tue, 04 Sep 2012 11:18:36 +0200, Detlev Offenbach
<detlev at die-offenbachs.de> wrote:
> On Tuesday 04 September 2012, 09:30:06 Phil Thompson wrote:
>> On Tue, 04 Sep 2012 09:44:08 +0200, Detlev Offenbach
>>
>> <detlev at die-offenbachs.de> wrote:
>> > Hello,
>> >
>> > I would like to know the plan about the PyQt support for Qt 5.0
because
>>
>> I
>>
>> > would like to start to make eric5 compatible with Qt 5 as soon as
>>
>> possible
>>
>> > (if
>> > that is possible). In order for that, I would need support for these
>> > modules.
>> >
>> > PyQt4.QtCore
>> > PyQt4.QtGui
>> > PyQt4.QtNetwork
>> > PyQt4.QtWebKit
>> > PyQt4.QtHelp
>> > PyQt4.QtSql
>> > PyQt4.QtSvg
>> > PyQt4.uic
>> >
>> > Regards,
>> > Detlev
>>
>> The plan is that PyQt4 will build against Qt5. v4.9.4 will build
against
>> Qt5-alpha (QtCore and QtGui modules only). I am currently working on
>> updating to Qt5-beta1. The Qt4 and Qt5 APIs are very similar, but not
>> identical.
>
> Do you have a list of differences at hand? Such a list could ease
building
> an
> application, that works under Qt5 and Qt4 (maybe by having some kind of
> portability layer).
You can grep the .sip files for Qt_5_0_0 but even most don't actually
affect the API. It's too early to tell if a porting guide would be any use.
Phil
More information about the PyQt
mailing list