On Mon, 30 Mar 2009 12:56:34 +0200, Oliver Heyme <[email protected]>
wrote:
> Hi,
> 
> I am trying to create a module for my own derivate of the QApplication
> class with the latest SIP and PyQt snapshots!
> 
> The sip looks like this:
> 
> %Module LBBApplication 0
> %Import QtGui/QtGuimod.sip
> 
> class LBBApplication : QApplication {
> 
> %TypeHeaderCode
> #include "Core/LBBApplication.h"
> %End
> 
> public:
>       LBBApplication(SIP_PYLIST argv);
>       ~LBBApplication();
> };
> 
> When I run sip I get the following error:
> 
> olimac:Core olihey$ sip -c .
> -I/Library/Frameworks/Python.framework/Versions/3.0/share/sip/PyQt4/
> -t WS_MACX LBBApplication.sip
> sip: QFileIconProvider is undefined
> 
> What am I doing wrong?

You need another -t flag to tell it what version of the Qt API you are
using.

Phil
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to