[PyQt] Qt 3: wrapping QSettings subclass fails
Arve Knudsen
arve.knudsen at gmail.com
Tue Mar 4 12:16:24 GMT 2008
Looks like what it took was to declare the copy constructor private in the .sip.
Arve
On Tue, Mar 4, 2008 at 1:11 PM, Arve Knudsen <arve.knudsen at gmail.com> wrote:
> On Mon, Mar 3, 2008 at 5:39 PM, Phil Thompson
> <phil at riverbankcomputing.com> wrote:
> >
> > On Monday 03 March 2008, Arve Knudsen wrote:
> > > Hello all
> > > I've run into a problem wrapping a subclass of Qt 3's QSettings. The
> > > problem is that QSettings' copy constructor is private and SIP wants
> > > to copy construct an instance of my class. How can I solve this?
> >
> > What are the circumstances in which SIP wants to create the instance?
>
> This is the generated code at least: http://pastebin.com/m64228e27.
>
> Arve
>
More information about the PyQt
mailing list