[PyKDE] sip-4.4?

Patrick Stinson patrickkidd at gci.net
Wed Jan 4 10:30:12 GMT 2006


Den Jan 4, 2006 kl. 12:30 AM skrev Phil Thompson:

> On Wednesday 04 January 2006 12:39 am, you wrote:
>> Den Jan 3, 2006 kl. 2:23 PM skrev Phil Thompson:
>>> On Tuesday 03 January 2006 11:05 pm, Patrick Stinson wrote:
>>>> I hope I'm not missing a doc somewhere.
>>>>
>>>> sip-snapshot-20060102 is marked as sip-4.3, but PyQt4-
>>>> snapshot-20060102 requires sip-4.4.
>>>>
>>>> confusion...
>>>
>>> Version numbers are ignored with snapshots. Do you actually have a
>>> problem?
>>>
>>> Phil
>>
>> Thanks, I didn't realize that. If there is a document describing the
>> relationship between pyqt4, snapshots, versions, or any other
>> material, can you point me to it? I'm already going to look in the
>> ChangeLog.
>
> Basically, if you use snapshots then use them for everything and  
> always use
> the latest ones.
>
>> I currently get this error, with Qt-4.1.0, and today's snapshots.
>>
>> sipQtCoreQPersistentModelIndex.cpp: In function `PyObject*
>> meth_QPersistentModelIndex_data(PyObject*, PyObject*)':
>> sipQtCoreQPersistentModelIndex.cpp:95: error: 'class
>> QPersistentModelIndex' has no member named 'data'
>> make[1]: *** [sipQtCoreQPersistentModelIndex.o] Error 1
>> make[1]: Leaving directory `/home/patrick/LA/PyQt4-gpl-
>> snapshot-20060102/QtCore'
>> make: *** [all] Error 2
>
> I don't know why you would get that error  
> (QPersistentModelIndex::data() does
> exist). I don't commit changes without checking that they at least  
> build on
> my Linux system.
>
> Phil

I figured this out. qt-4.1.0_rc1 on gentoo is broken. It seems to  
install headers from qt-4.0.1. building qt-4.1.0 worked.

on another note, PyQt4 requires default qt4 configure settings, so  
for gentoo make sure the proper  USE flags are set. I had to set  
accessibility.

thanks




More information about the PyQt mailing list