[PyQt] Support for std::?

Phil Thompson phil at riverbankcomputing.com
Tue Jan 10 10:00:03 GMT 2017

On 10 Jan 2017, at 9:44 am, Shaheed Haque <srhaque at theiet.org> wrote:
> Hi,
> I have some .h files for which the generated .sip contains fragments
> which depend on the std namespace like this:
> tmp/AkonadiCore/Exception.sip:    class Exception: std::exception
> tmp/gpgme++/exception.sip:        const std::string &message() const;
> tmp/gpgme++/error.sip:    std::ostream &operator<<(int &os, const
> GpgME::Error &err);
> How might I approach these? Ideas welcome...

You have to provide %MappedType implementations of them.


More information about the PyQt mailing list