<DIV><includetail>Dear sir.</includetail></DIV>
<DIV>my head file is </:includetail></DIV>
<DIV>myqtlibtest.h:</:includetail></DIV>
<DIV>#ifndef MYQTLIBTEST_H<BR>#define MYQTLIBTEST_H</:includetail></DIV>
<DIV>#include "myqtlibtest_global.h"<BR>//#include <windows.h><BR>#include <qstring.h><BR>#include <qdebug.h><BR>#include "test.h"</:includetail></DIV>
<DIV>class MYQTLIBTEST_EXPORT myqtlibtest<BR>{<BR>public:<BR> myqtlibtest();<BR> ~myqtlibtest(); </:includetail></DIV>
<DIV> void show();<BR> int testshow();</:includetail></DIV>
<DIV>private:<BR> Test *testpointer;</:includetail></DIV>
<DIV>};<BR>MYQTLIBTEST_EXPORT int myshow(int aa);</:includetail></DIV>
<DIV>#endif // MYQTLIBTEST_H</:includetail></DIV>
<DIV>my sip wrappers is</:includetail></DIV>
<DIV>myqtlibtest.sip:</:includetail></DIV>
<DIV>%Module myqtlibtest 0</:includetail></DIV>
<DIV><BR>%Import QtCore/QtCoremod.sip<BR>%Import QtGui/QtGuimod.sip</DIV>
<DIV>class  myqtlibtest<BR>{</DIV>
<DIV>%TypeHeaderCode</DIV>
<DIV>#include "myqtlibtest.h"</DIV>
<DIV>%End</DIV>
<DIV>public:<BR> myqtlibtest();<BR> ~myqtlibtest();<BR>       void show();<BR>       int testshow();</DIV>
<DIV> private:</DIV>
<DIV>Test *testpointer;<BR>};<BR>int myshow(int aa);</DIV>
<DIV> </DIV>
<DIV>when I run the command of "sip -I ..\sip\PyQt4\ -t Qt_4_5_3  -t WS_WIN myqtlibtest.sip<BR>"</DIV>
<DIV> </DIV>
<DIV> the error is "sip:myqtlibtest.sip :23:Class variables must be in the public section." but I still need the private variable
<DIV>"Test *testpointer"</DIV>
<DIV> </DIV>
<DIV>what can I do?</DIV>
<DIV> </DIV>
<DIV>Susan,</DIV>
<DIV>thank you.<BR><BR></DIV></DIV></:includetail>