[PyQt] QtDBus: Unable to convert Array of Object Paths

Phil Thompson phil at riverbankcomputing.com
Sun Dec 4 22:14:58 GMT 2011


On Sun, 04 Dec 2011 20:06:35 +0000, Chris Mayo
<cjmayo at users.sourceforge.net> wrote:
>>
>> The only includes at the top of the generated
>>
PyQt-x11-gpl-snapshot-4.9-65564eb2fcf4-2.7/QtDBus/sipQtDBusQDBusVariant.cpp
>> are:
>>
>>
>> #include "sipAPIQtDBus.h"
>>
>>
>> #line 241
>>
"/var/tmp/portage/dev-python/PyQt4-4.9_pre20111204/work/PyQt-x11-gpl-snapshot-4.9-65564eb2fcf4-2.7/sip/QtCore/qvariant.sip"
>>
>> #include <qvariant.h>
>> #line 35
>>
"/var/tmp/portage/dev-python/PyQt4-4.9_pre20111204/work/PyQt-x11-gpl-snapshot-4.9-65564eb2fcf4-2.7/QtDBus/sipQtDBusQDBusVariant.cpp"
>>
>>
>>
>> If I manually add:
>> #include <qdbusextratypes.h>
>> make appears to complete.
>>
> 
> All my mistake. In trying to investigate the first compilation problem I

> was zapping out the #include <qdbusextratypes.h> in qdbusextratypes.sip 
> and forget to remove it when trying out the newer snapshots. Sorry for 
> wasting your time.
> 
> I now have working arrays of object paths.
> 
> Chris

Excellent. Let me know if anything else "feels wrong" or if there might be
a better way to do things.

Phil


More information about the PyQt mailing list