[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: [PyQt] SIP 4.19+ and private destructors
From: Raphael Kubo da Costa <rakuco () FreeBSD ! org>
Date: 2017-04-01 11:51:05
Message-ID: 8660iojqhi.fsf () orwell
[Download RAW message or body]
After sip change 1688:71a8ee38b2c6 ("Fixed a regression in determining
when a shadow class should be generated") I'm having problems with
QObject-derived classes that define a private destructor.
For example, the following excerpt:
%Module C
%Import QtCore/QtCoremod.sip
class C : public QObject {
private:
~C();
};
generates a "class sipC : public ::C", that fails to build because C's
destructor is private. Before that change, sip would just generate code
creating and manipulating C directly.
Was that intentional or is this an actual bug?
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic