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

Phil Thompson phil at riverbankcomputing.com
Wed Apr 22 21:08:02 BST 2009


On Wed, 22 Apr 2009 15:51:23 -0400, Devon Rueckner
<devon.rueckner at temboo.com> wrote:
> On Wed, Apr 22, 2009 at 12:50 PM, Phil Thompson
> <phil at riverbankcomputing.com> 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.
>>
>> Phil
>>
> 
> Just to clarify:
> 
> Are you saying that there is no problem as long as we don't use
> certain known functions?
> Or, in the case of 4.5 there is a problem and we would not be safe
> using an older PyQt?

The problem is limited to specific classes - QGraphicsProxyWidget is the
only one that springs to mind.

Phil


More information about the PyQt mailing list