[PyQt] sip: QFileIconProvider is undefined ??

Oliver Heyme olihey at googlemail.com
Mon Mar 30 11:56:34 BST 2009


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?

Thanks,
Oli


More information about the PyQt mailing list