[PyQt] Strange sip 4.7.9 bug

Phil Thompson phil at riverbankcomputing.com
Wed May 27 22:45:54 BST 2009


On Wed, 27 May 2009 17:17:29 +0200, Arve Knudsen <arve.knudsen at gmail.com>
wrote:
> Hi
> Phil, I really need help with this extremely strange bug in sip 4.7.9 on
> Windows Vista x64, Python 2.6 (32bit). It's difficult to describe fully,
> but
> I'll try (I can't provide sources, since it's proprietary code). The
> scenario is (more or less) like this: lod.sip declares a class TileTree,
> which lives in igmLod/TileTree.h. gui.sip imports lod.sip and declares a
> class ViewerProject, which refers to a QList<TileTree>. What then happens
> is
> that the files sip_igmlodTileTree.cpp, which includes igmLod/TileTree.h,
> and
> sip_igmguiQList.cpp, which includes igmLod/TileTreeileTileTreeree.h, are
> generated. As you can see, the inclusion in the latter .cpp is all
> scrambled
> (with the class name). Any idea what's going on here, eventually how I
can
> debug sip myself?

You need to send me a test case.

Phil


More information about the PyQt mailing list