[PyQt] Trying to create SIP

Phil Thompson phil at riverbankcomputing.com
Tue Apr 23 13:46:18 BST 2013


On Tue, 23 Apr 2013 15:21:14 +0300, Tomas Neverdauskas <topazas at gmail.com>
wrote:
> Still no luck, now SIP complains:
> *QtAV::AudioOutput is undefined*

The easiest approach is to build up the .sip file a bit at a time, rather
than trying to write the whole thing at once.

Phil

> 2013/4/23 Phil Thompson <phil at riverbankcomputing.com>
> 
>> On Tue, 23 Apr 2013 12:03:35 +0300, Tomas Neverdauskas
>> <topazas at gmail.com>
>> wrote:
>> > Yes that's was the case.
>> >
>> > Another problem, i think more complicated - sip says: "AudioOutput is
>> > undefined", i should include the AudioOutput.sip (rework from same h)
>> file,
>> > definition like *class AudioOutput;* is not enought?
>>
>> SIP isn't very clever at parsing namespaces. You need to include the
>> namespace name...
>>
>> QtAV::AudioOutput *audio()
>>
>> Phil
>>
>>


More information about the PyQt mailing list