[PyQt] implications of running PyQt 4.4.x with Qt 4.5?

Phil Thompson phil at riverbankcomputing.com
Wed Apr 22 18:24:35 BST 2009


On Wed, 22 Apr 2009 19:18:05 +0200, Giovanni Bajo <rasky at develer.com>
wrote:
> On 4/22/2009 6:50 PM, Phil Thompson wrote:
>> On Wed, 22 Apr 2009 12:40:49 -0400, Devon Rueckner
>> <devon.rueckner at temboo.com> wrote:
>>> Hi -
>>>
>>> We would like to upgrade to Qt 4.5 for its bug fixes, performance and
>>> license.
>>>
>>> After simply swapping out Qt and leaving PyQt alone, empirically
>>> everything works with the exception of a few graphics view rendering
>>> issues.
>>>
>>> Is running PyQt 4.4.4 with Qt 4.5 considered supported?  What are the
>>> implications?
>> 
>> Generally there is no problem with using a later version of Qt. The
>> exception is when that new version introduces new implementations of
>> existing virtuals - an older PyQt doesn't know to call them. There are
>> some
>> cases of that in Qt v4.5.
> 
> I'm not sure I follow. Is that because the sip-generated code hardcodes 
> the specific class to be used for each virtual function?

Yes - otherwise you will get virtual loops.

Phil


More information about the PyQt mailing list