[PyQt] Support for std::?

Shaheed Haque srhaque at theiet.org
Tue Jan 10 13:41:38 GMT 2017

For the implementation, that make sense. What about the syntax errors
the SIP compiler reports, for example:

ERROR: sip: std::exception has not been defined while processing

Is there a way to suppress those?

On 10 January 2017 at 10:00, Phil Thompson <phil at riverbankcomputing.com> wrote:
> 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.
> Phil

More information about the PyQt mailing list