I copied some core from qapplication.sip and now it's working fine! Thanks for the fast answers (all of them :) )! Oli
On Mon, Mar 30, 2009 at 2:26 PM, Phil Thompson <[email protected]> wrote: > On Mon, 30 Mar 2009 14:21:30 +0200, Oliver Heyme <[email protected]> > wrote: >> 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. > > Phil > _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
