I'm trying to run a simple .sip file example and can't seem to get the bloody thing to run. Here is my small example *without* the import of QtGui/QtGuimod.sip... which will build normally:<br><br>#### Working Example working.sip ###<br>
%Module word 0<br>#### End working.sip<br><br>% sip -I/rel/lang/python/2.5.1-6/share/sip/PyQt4 -t WS_X11 -t Qt_4_6_0 -c . working.sip<br><br><br>If I try to import QtGui/QtGuimod.sip as demonstrated below:<br><br>### Broken Example broken.sip ###<br>
%Import QtGui/QtGuimod.sip<br>%Module word 0<br>### End broken.sip<br><br>I get the following error:<br>% sip -I/rel/lang/python/2.5.1-6/share/sip/PyQt4 -t WS_X11 -t Qt_4_6_0 -c . broken.sip<br>sip: QFileIconProvider is undefined<br>
<br>I found another thread on the email list where a user said "-t Qt_4_6_0" would fix this problem... but I'm not getting same luck here.<br><br>/rel/lang/python/2.5.1-6/share/sip/PyQt4/QtGui/QtGuimod.sip does include qfileiconprovider.sip. <br>
<br>The error doesn't give much information for a newcomer to analyze... and an strace isn't revealing much either. Any pointers on how to fix this would be much appreciated.<br><br>This was built on a RedHat 4 box using SIP 4.10, Qt 4.6.1, and Python 2.5.1.<br>
<br><br><br><br>