[PyQt] [SIP] Generation Error

Kermit stef.kermit at gmail.com
Thu Apr 14 13:18:46 BST 2011


Hi all,

i have a little bug with sip's generate file, and template

if

i declare a class Vec2  in Vec2.h file
sip generate  sipKitCGV2f.cpp  //OK

but in this file the include is
#line 12 "Vec2.sip"
#include "V2f.h" //                 <---- Bad filename
#line 12 "./sipKitCGV2f.cpp"





if

i declare a class Vec2  in Vec.h file

the include is

#include "Vec.h" //                 <---- Good filename


i can rename all my h file, but i think there is a little mistake here


i add two zip with simple class with and without probe


Kermit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20110414/4284a3e2/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: NOTOK.zip
Type: application/zip
Size: 732 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20110414/4284a3e2/attachment.zip>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OK.zip
Type: application/zip
Size: 730 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20110414/4284a3e2/attachment-0001.zip>


More information about the PyQt mailing list