Hi<div><br></div><div>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?</div>
<div><br></div><div>For reference, the sip class declarations:</div><div><br></div><div><div>class TileTree</div><div>{</div><div>%TypeHeaderCode</div><div>#include <igmLod/TileTree.h></div><div>using namespace igmLod;</div>
<div>%End</div><div><br></div><div>public:</div><div> typedef osg::ref_ptr<TileTree> Ref;</div><div><br></div><div> int getNumTopTiles() const;</div><div><br></div><div> Tile* getTopTile(int i);</div><div>};</div>
<div><br></div><div><div>class ViewerProject : QObject</div><div>{</div><div>%TypeHeaderCode</div><div>#include <igmGui/ViewerProject.h></div><div>using namespace igmGui;</div><div>%End</div><div><br></div><div>public:</div>
<div> ViewerProject();</div><div><br></div><div> const QList<TileTree::Ref>& getTileTrees();</div><div><br></div><div> void load(const QString& filename);</div><div>};</div></div></div>