[PyQt] SIPing a subclass of QApplication
phil at riverbankcomputing.com
Mon Mar 30 13:26:19 BST 2009
On Mon, 30 Mar 2009 14:21:30 +0200, Oliver Heyme <olihey at googlemail.com>
> Hi (me again :) ),
> I have Python 3 embedded in my C++ QT-application and now would like
> to export my most important classes to Python to be able to "script"
> the application.
> I started with LBBApplication which is inherited from QApplication.
> Now I have the problem with the constructor of my class!
> What should I use in the sip file to define the constructor:
> LBBApplication(int &argv,char*argc);
> Please help, I couldnot find any documentation on that!
Have a look at the way PyQt implements QApplication and QCoreApplication.
More information about the PyQt