[PyQt] implications of running PyQt 4.4.x with Qt 4.5?
Phil Thompson
phil at riverbankcomputing.com
Fri Apr 24 09:17:37 BST 2009
On Thu, 23 Apr 2009 22:06:20 -0400, Devon Rueckner
<devon.rueckner at temboo.com> wrote:
> On Wed, Apr 22, 2009 at 4:08 PM, Phil Thompson
> <phil at riverbankcomputing.com> wrote:
>> 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
>>
>
>
> That class is indeed causing problems. Would it be possible to patch
> PyQt 4.4.4 to point to the new implementation?
Have a look at the GGraphicsProxyWidget changes in the current snapshot and
apply them to the 4.4.4 .sip file.
Phil
More information about the PyQt
mailing list