[PyQt] std::string sip Python3

Jakob Simon-Gaarde jakobsg at gmail.com
Wed Mar 15 19:44:55 GMT 2017


---------- Videresendt meddelelse ----------
Fra: "Jakob Simon-Gaarde" <jakobsg at gmail.com>
Dato: 15. mar. 2017 8.44 PM
Emne: Re: [PyQt] std::string sip Python3
Til: "Phil Thompson" <phil at riverbankcomputing.com>
Cc:

Std::string is pretty standard. Isn't there a someone with a definition?

Br
Jakob

Den 15. mar. 2017 8.42 PM skrev "Phil Thompson" <phil at riverbankcomputing.com
>:

> On 15 Mar 2017, at 3:03 pm, Jakob Simon-Gaarde <jakobsg at gmail.com> wrote:
> >
> > How do I use std::string in my .sip files?
> >
> > My sip file:
> >
> > class CPPTheme /External/;
> >
> > class LMCTheme {
> > public:
> >     LMCTheme(CPPTheme* config=0);
> >     bool LoadTheme(const std::string &fileName);
> > };
> >
> >
> > I get the following error:
> > sip: std::string is undefined
>
> You need to provide a definition.
>
> Phil
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170315/977b9550/attachment.html>


More information about the PyQt mailing list