[PyQt] Qt 3: wrapping QSettings subclass fails
Phil Thompson
phil at riverbankcomputing.com
Wed Mar 5 11:28:33 GMT 2008
On Tuesday 04 March 2008, Arve Knudsen 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.
I can't reproduce this. The simple attached test does the right thing.
Phil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.sip
Type: text/x-c++src
Size: 140 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20080305/6b53471e/foo.bin
More information about the PyQt
mailing list